| Index: chrome/browser/ui/extensions/extension_enable_flow.cc
|
| diff --git a/chrome/browser/ui/extensions/extension_enable_flow.cc b/chrome/browser/ui/extensions/extension_enable_flow.cc
|
| index b89155f0252ba277b139561a93086ad3bb494aca..3b6c1a960f41f2950dc3d8fcfa5de4940f3aa3c3 100644
|
| --- a/chrome/browser/ui/extensions/extension_enable_flow.cc
|
| +++ b/chrome/browser/ui/extensions/extension_enable_flow.cc
|
| @@ -110,7 +110,8 @@ void ExtensionEnableFlow::CreatePrompt() {
|
| }
|
|
|
| void ExtensionEnableFlow::StartObserving() {
|
| - 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_LOAD_ERROR,
|
| content::Source<Profile>(profile_));
|
| @@ -126,7 +127,7 @@ void ExtensionEnableFlow::Observe(int type,
|
| 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<const Extension>(details).ptr();
|
| if (extension->id() == extension_id_) {
|
|
|