Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3167)

Unified Diff: chrome/browser/extensions/extension_notification_observer.cc

Issue 204703002: Rename NOTIFICATION_EXTENSION_UNLOADED to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: maybe upload wont do something bizarre this time Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_notification_observer.cc
diff --git a/chrome/browser/extensions/extension_notification_observer.cc b/chrome/browser/extensions/extension_notification_observer.cc
index 8447d1570cb9f8f94fcfe13287c83012c11780b5..b5ab0f3abee86578bb1b65d411c65eb216b2abde 100644
--- a/chrome/browser/extensions/extension_notification_observer.cc
+++ b/chrome/browser/extensions/extension_notification_observer.cc
@@ -36,7 +36,8 @@ ExtensionNotificationObserver::ExtensionNotificationObserver(
: extension_ids_(extension_ids) {
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, source);
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, source);
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, source);
+ registrar_.Add(
+ this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, source);
}
ExtensionNotificationObserver::~ExtensionNotificationObserver() {}
@@ -109,7 +110,7 @@ void ExtensionNotificationObserver::Observe(
break;
}
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: {
UnloadedExtensionInfo* reason =
content::Details<UnloadedExtensionInfo>(details).ptr();
if (extension_ids_.count(reason->extension->id())) {
« no previous file with comments | « chrome/browser/extensions/extension_keybinding_registry.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698