summaryrefslogtreecommitdiffstats
path: root/chrome/browser/apps/ephemeral_app_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/apps/ephemeral_app_service.cc')
-rw-r--r--chrome/browser/apps/ephemeral_app_service.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/apps/ephemeral_app_service.cc b/chrome/browser/apps/ephemeral_app_service.cc
index b8d4989..0e4e117 100644
--- a/chrome/browser/apps/ephemeral_app_service.cc
+++ b/chrome/browser/apps/ephemeral_app_service.cc
@@ -67,7 +67,8 @@ EphemeralAppService::EphemeralAppService(Profile* profile)
switches::kEnableEphemeralApps))
return;
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED,
+ registrar_.Add(this,
+ chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED,
content::Source<Profile>(profile_));
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED,
content::Source<Profile>(profile_));
@@ -89,7 +90,7 @@ void EphemeralAppService::Observe(
Init();
break;
}
- case chrome::NOTIFICATION_EXTENSION_INSTALLED: {
+ case chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED: {
const Extension* extension =
content::Details<const InstalledExtensionInfo>(details)->extension;
DCHECK(extension);