Index: chrome/browser/apps/ephemeral_app_service.cc |
diff --git a/chrome/browser/apps/ephemeral_app_service.cc b/chrome/browser/apps/ephemeral_app_service.cc |
index 6bbb8f3ddbdd875fa3b08a925f8260da02eaf60f..46df9cf7875f2559cb2db24a613ec1b4fc1dbec2 100644 |
--- a/chrome/browser/apps/ephemeral_app_service.cc |
+++ b/chrome/browser/apps/ephemeral_app_service.cc |
@@ -18,6 +18,7 @@ |
#include "extensions/browser/extension_registry.h" |
#include "extensions/browser/extension_system.h" |
#include "extensions/browser/extension_util.h" |
+#include "extensions/browser/notification_types.h" |
#include "extensions/browser/uninstall_reason.h" |
#include "extensions/common/extension.h" |
#include "extensions/common/extension_set.h" |
@@ -63,7 +64,8 @@ EphemeralAppService::EphemeralAppService(Profile* profile) |
return; |
extension_registry_observer_.Add(ExtensionRegistry::Get(profile_)); |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSIONS_READY, |
+ registrar_.Add(this, |
+ extensions::NOTIFICATION_EXTENSIONS_READY_DEPRECATED, |
content::Source<Profile>(profile_)); |
registrar_.Add(this, chrome::NOTIFICATION_PROFILE_DESTROYED, |
content::Source<Profile>(profile_)); |
@@ -113,7 +115,7 @@ void EphemeralAppService::Observe( |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
switch (type) { |
- case chrome::NOTIFICATION_EXTENSIONS_READY: { |
+ case extensions::NOTIFICATION_EXTENSIONS_READY_DEPRECATED: { |
Init(); |
break; |
} |