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

Unified Diff: extensions/browser/extension_registry_observer.h

Issue 207613002: Cleanup: Remove NOTIFICATION_EXTENSION_UNLOADED usage in MediaScanManager. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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: extensions/browser/extension_registry_observer.h
===================================================================
--- extensions/browser/extension_registry_observer.h (revision 259942)
+++ extensions/browser/extension_registry_observer.h (working copy)
@@ -5,6 +5,10 @@
#ifndef EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_
#define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_
+namespace content {
+class BrowserContext;
+}
+
namespace extensions {
class Extension;
@@ -17,13 +21,17 @@
// Called after an extension is loaded. The extension will exclusively exist
// in the enabled_extensions set of ExtensionRegistry.
- virtual void OnExtensionLoaded(const Extension* extension) {}
+ virtual void OnExtensionLoaded(
+ content::BrowserContext* browser_context,
+ const Extension* extension) {}
// Called after an extension is unloaded. The extension no longer exists in
// any of the ExtensionRegistry sets (enabled, disabled, etc.).
- virtual void OnExtensionUnloaded(const Extension* extension) {}
+ virtual void OnExtensionUnloaded(
+ content::BrowserContext* browser_context,
+ const Extension* extension) {}
};
-}
+} // namespace extensions
#endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698