summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background
diff options
context:
space:
mode:
authorlimasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-29 16:45:07 +0000
committerlimasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-29 16:45:07 +0000
commitbbf8d30b7ac608e2af8bb226b775c57195022734 (patch)
tree595c188ce9138414899fcf3e4a831ac55bafab92 /chrome/browser/background
parent0d2309eaf73e7e074d4ee0cf546361114db38091 (diff)
downloadchromium_src-bbf8d30b7ac608e2af8bb226b775c57195022734.zip
chromium_src-bbf8d30b7ac608e2af8bb226b775c57195022734.tar.gz
chromium_src-bbf8d30b7ac608e2af8bb226b775c57195022734.tar.bz2
Rename NOTIFICATION_EXTENSION_UNINSTALLED to NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED
Now ExtensionRegistry replace it(https://codereview.chromium.org/289073008/). BUG=376293 Review URL: https://codereview.chromium.org/296353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background')
-rw-r--r--chrome/browser/background/background_contents_service.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index 07b8a96..9c465c22 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -354,7 +354,8 @@ void BackgroundContentsService::StartObserving(Profile* profile) {
// uninstalled/reloaded. We cannot do this from UNLOADED since a crashed
// extension is unloaded immediately after the crash, not when user reloads or
// uninstalls the extension.
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED,
+ registrar_.Add(this,
+ chrome::NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED,
content::Source<Profile>(profile));
}
@@ -500,7 +501,7 @@ void BackgroundContentsService::Observe(
}
break;
- case chrome::NOTIFICATION_EXTENSION_UNINSTALLED: {
+ case chrome::NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED: {
// Close the crash notification balloon for the app/extension, if any.
ScheduleCloseBalloon(
content::Details<const Extension>(details).ptr()->id());