summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_process_manager.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 10:09:06 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-13 10:09:06 +0000
commit94fe52ee5bdf2d2feaa771537164909250ec174f (patch)
tree6af1bca5f56fe7c28384172d71fdc5942e2b3487 /chrome/browser/extensions/extension_process_manager.h
parent5a2721f67bee6843d521afa0ddea2034798372ef (diff)
downloadchromium_src-94fe52ee5bdf2d2feaa771537164909250ec174f.zip
chromium_src-94fe52ee5bdf2d2feaa771537164909250ec174f.tar.gz
chromium_src-94fe52ee5bdf2d2feaa771537164909250ec174f.tar.bz2
Make extensions visible in the Task Manager.
- register for notifications when extension hosts are created/destroyed - collapse extension tabs into just one table row, also for tabs opened while the task manager stays open TEST=Start chrome.exe with --enable-extensions. Install the buildbot monitor extension. Open the task manager. You should see an extension process. http://crbug.com/12127 Review URL: http://codereview.chromium.org/125047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_process_manager.h')
-rw-r--r--chrome/browser/extensions/extension_process_manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h
index 23fcb25..f12b49e 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -57,6 +57,9 @@ class ExtensionProcessManager : public NotificationObserver {
void OnExtensionHostDestroyed(ExtensionHost* host);
private:
+ // Called just after |host| is created so it can be registered in our lists.
+ void OnExtensionHostCreated(ExtensionHost* host, bool is_background);
+
NotificationRegistrar registrar_;
// The set of all ExtensionHosts managed by this process manager.