LGTM. I agree that you should look into the broad (global, not per-process) onUpdated event. For any active monitoring extension (vs. static display), I would wager that this would result in a more efficient implementation than having them poll.
I also agree with Aaron's answers to your open questions. Erik On Tue, Jan 12, 2010 at 1:08 PM, Charlie Reis <[email protected]> wrote: > On Tue, Jan 12, 2010 at 12:44 PM, James Robinson <[email protected]>wrote: > >> Getting this information in a cross-platform way is a huge pain (do we >> even do it properly for mac yet?), so it seems like a decent idea to let >> extensions reuse the work done rather than reimplementing everything. >> >> > I agree. Plus NPAPI "is a really big hammer" that throws out most of the > protections that Chromium's process model and sandbox offer extensions, so > I'd find it ironic to rely on that for people interested in data about the > process model... > > >> I'd suggest having the browser fire some sort of update event to the >> extension whenever the metrics are updated rather than forcing the extension >> to poll. This is how the task manager works currently. >> >> - James >> >> > I'm happy to add an onUpdated event, but I thought it might be fired too > often to expose it as an extension event. If we're not concerned about the > frequency, I'll put it in the proposal. > > Charlie > > > > >> >> On Tue, Jan 12, 2010 at 12:38 PM, Matt Perry <[email protected]>wrote: >> >>> Would it be possible to implement the same functionality using an NPAPI >>> plugin? Extensions are allowed to bundle native plugins and interact with >>> them from script. >>> >>> On Tue, Jan 12, 2010 at 10:48 AM, Charlie Reis <[email protected]>wrote: >>> >>>> Hi folks-- >>>> I've put together a proposal for a Chromium extensions module that >>>> exposes >>>> data about the browser's processes. I think this could be useful for >>>> things >>>> like per-tab CPU/memory utilization graphs, custom task managers, or >>>> visualizing which tabs are sharing processes. >>>> >>>> http://docs.google.com/View?id=dhr988kp_4f76886hc >>>> >>>> Please let me know what you think. >>>> >>>> Thanks! >>>> Charlie Reis >>>> >>>> -- >>>> Chromium Developers mailing list: [email protected] >>>> View archives, change email options, or unsubscribe: >>>> http://groups.google.com/group/chromium-dev >>>> >>> >>> >>> -- >>> Chromium Developers mailing list: [email protected] >>> View archives, change email options, or unsubscribe: >>> http://groups.google.com/group/chromium-dev >>> >> >> > > -- > Chromium Developers mailing list: [email protected] > View archives, change email options, or unsubscribe: > http://groups.google.com/group/chromium-dev >
-- Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
