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

Unified Diff: extensions/browser/extension_registry_observer.h

Issue 298023009: Remove InstallTracker's extension load, unload observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix clang warning Created 6 years, 6 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.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
diff --git a/extensions/browser/extension_registry_observer.h b/extensions/browser/extension_registry_observer.h
index 7cb524ececac01ced97439a95eda529489447df2..8aa0d079d14e05b5b8d750ab3a0d68a52dd14477 100644
--- a/extensions/browser/extension_registry_observer.h
+++ b/extensions/browser/extension_registry_observer.h
@@ -14,6 +14,7 @@ class BrowserContext;
namespace extensions {
class Extension;
+class ExtensionRegistry;
struct UnloadedExtensionInfo;
// Observer for ExtensionRegistry. Exists in a separate header file to reduce
@@ -62,6 +63,9 @@ class ExtensionRegistryObserver {
// any of the ExtensionRegistry sets (enabled, disabled, etc.).
virtual void OnExtensionUninstalled(content::BrowserContext* browser_context,
const Extension* extension) {}
+
+ // Notifies observers that the observed object is going away.
+ virtual void OnShutdown(ExtensionRegistry* registry) {}
};
} // namespace extensions
« no previous file with comments | « extensions/browser/extension_registry.cc ('k') | extensions/browser/extension_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698