| Index: chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| diff --git a/chrome/browser/extensions/api/declarative/rules_registry_service.cc b/chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| index 908e1cc2860e4835b9e55b41ef9ac40f98f5df6a..13bee5e5f03ba210ff586ddf3d8f219b607be633 100644
|
| --- a/chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| +++ b/chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| @@ -46,7 +46,7 @@ RulesRegistryService::RulesRegistryService(content::BrowserContext* context)
|
| profile_(Profile::FromBrowserContext(context)) {
|
| if (profile_) {
|
| registrar_.Add(this,
|
| - chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile_->GetOriginalProfile()));
|
| registrar_.Add(this,
|
| chrome::NOTIFICATION_EXTENSION_UNINSTALLED,
|
| @@ -211,7 +211,7 @@ void RulesRegistryService::Observe(
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| switch (type) {
|
| - case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: {
|
| const Extension* extension =
|
| content::Details<UnloadedExtensionInfo>(details)->extension;
|
| NotifyRegistriesHelper(&RulesRegistry::OnExtensionUnloaded,
|
|
|