| Index: chrome/browser/background/background_mode_manager.cc
|
| diff --git a/chrome/browser/background/background_mode_manager.cc b/chrome/browser/background/background_mode_manager.cc
|
| index cc091f55f80a8d1db5276fc3a0c8b031729b9fd5..d2c79d2d93cffddb26c58326d7f4b9ff5980da35 100644
|
| --- a/chrome/browser/background/background_mode_manager.cc
|
| +++ b/chrome/browser/background/background_mode_manager.cc
|
| @@ -276,7 +276,8 @@ void BackgroundModeManager::RegisterProfile(Profile* profile) {
|
| // Listen for when extensions are loaded or add the background permission so
|
| // we can display a "background app installed" notification and enter
|
| // "launch on login" mode on the Mac.
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED,
|
| + registrar_.Add(this,
|
| + chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
| content::Source<Profile>(profile));
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED,
|
| content::Source<Profile>(profile));
|
| @@ -324,7 +325,7 @@ void BackgroundModeManager::Observe(
|
| DecrementKeepAliveCountForStartup();
|
| break;
|
|
|
| - case chrome::NOTIFICATION_EXTENSION_LOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED: {
|
| Extension* extension = content::Details<Extension>(details).ptr();
|
| Profile* profile = content::Source<Profile>(source).ptr();
|
| if (BackgroundApplicationListModel::IsBackgroundApp(
|
|
|