| Index: chrome/browser/background/background_contents_service.cc
|
| diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
|
| index 11eb8df028f4b8e74b679f63659f62552f8e2104..09b91d71fea527c8cfd5d5ea644df2862d4fcee9 100644
|
| --- a/chrome/browser/background/background_contents_service.cc
|
| +++ b/chrome/browser/background/background_contents_service.cc
|
| @@ -334,7 +334,8 @@ void BackgroundContentsService::StartObserving(Profile* profile) {
|
|
|
| // Listen for new extension installs so that we can load any associated
|
| // background page.
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED,
|
| + registrar_.Add(this,
|
| + chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
| content::Source<Profile>(profile));
|
|
|
| // Track when the extensions crash so that the user can be notified
|
| @@ -402,7 +403,7 @@ void BackgroundContentsService::Observe(
|
| RegisterBackgroundContents(bgcontents);
|
| break;
|
| }
|
| - case chrome::NOTIFICATION_EXTENSION_LOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED: {
|
| const Extension* extension =
|
| content::Details<const Extension>(details).ptr();
|
| Profile* profile = content::Source<Profile>(source).ptr();
|
|
|