| Index: chrome/browser/extensions/extension_gcm_app_handler.cc
|
| diff --git a/chrome/browser/extensions/extension_gcm_app_handler.cc b/chrome/browser/extensions/extension_gcm_app_handler.cc
|
| index e0b254546122b3547dea63a0e4eb1acc54e15f69..86ef5bbe45a723b10d85e9afb439bf7f8540ca7e 100644
|
| --- a/chrome/browser/extensions/extension_gcm_app_handler.cc
|
| +++ b/chrome/browser/extensions/extension_gcm_app_handler.cc
|
| @@ -47,7 +47,7 @@ ExtensionGCMAppHandler::ExtensionGCMAppHandler(content::BrowserContext* context)
|
| weak_factory_(this) {
|
| // Listen to various extension related notifications.
|
| registrar_.Add(this,
|
| - chrome::NOTIFICATION_EXTENSION_LOADED,
|
| + chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
| content::Source<Profile>(profile_));
|
| registrar_.Add(this,
|
| chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| @@ -105,7 +105,7 @@ void ExtensionGCMAppHandler::Observe(
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| switch (type) {
|
| - case chrome:: NOTIFICATION_EXTENSION_LOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED: {
|
| const Extension* extension = content::Details<Extension>(details).ptr();
|
| if (IsGCMPermissionEnabled(extension))
|
| GetGCMProfileService()->AddAppHandler(extension->id(), this);
|
|
|