diff options
author | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 00:10:26 +0000 |
---|---|---|
committer | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 00:10:26 +0000 |
commit | 68e20290cea535bd1c0942f13767bdd8b3a88b85 (patch) | |
tree | ed084536b5eaa1bacd270933223fa76418fdb5fb /chrome/browser/extensions | |
parent | 325806865b379f97c5ffe53e91bc4a6e1c802bb8 (diff) | |
download | chromium_src-68e20290cea535bd1c0942f13767bdd8b3a88b85.zip chromium_src-68e20290cea535bd1c0942f13767bdd8b3a88b85.tar.gz chromium_src-68e20290cea535bd1c0942f13767bdd8b3a88b85.tar.bz2 |
Mark ExtensionMessageService AllSources usage as ok.
BUG=99391
TEST=none
Review URL: http://codereview.chromium.org/8295010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r-- | chrome/browser/extensions/extension_message_service.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_message_service.cc b/chrome/browser/extensions/extension_message_service.cc index e38f7ee..92ede01 100644 --- a/chrome/browser/extensions/extension_message_service.cc +++ b/chrome/browser/extensions/extension_message_service.cc @@ -116,11 +116,11 @@ void ExtensionMessageService::AllocatePortIdPair(int* port1, int* port2) { ExtensionMessageService::ExtensionMessageService(Profile* profile) : profile_(profile) { registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_TERMINATED, - NotificationService::AllSources()); + NotificationService::AllBrowserContextsAndSources()); registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CLOSED, - NotificationService::AllSources()); + NotificationService::AllBrowserContextsAndSources()); registrar_.Add(this, content::NOTIFICATION_RENDER_VIEW_HOST_DELETED, - NotificationService::AllSources()); + NotificationService::AllBrowserContextsAndSources()); } ExtensionMessageService::~ExtensionMessageService() { |