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

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: rebase, add error console Created 6 years, 8 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
« no previous file with comments | « extensions/browser/extension_registry_factory.cc ('k') | extensions/browser/extension_registry_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_registry_observer.h
===================================================================
--- extensions/browser/extension_registry_observer.h (revision 260931)
+++ 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_
« no previous file with comments | « extensions/browser/extension_registry_factory.cc ('k') | extensions/browser/extension_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698