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

Unified Diff: extensions/browser/extension_registry_observer.h

Issue 289073008: Add TriggerOnUninstalled to ExtensionRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comment Created 6 years, 7 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 6ad066614d3e3ed8bba0cfc8af560c2d1f74a79a..b6cf8e0907fe34843a5fc5504d4e2d55bb290a09 100644
--- a/extensions/browser/extension_registry_observer.h
+++ b/extensions/browser/extension_registry_observer.h
@@ -48,6 +48,11 @@ class ExtensionRegistryObserver {
const Extension* extension,
bool is_update,
const std::string& old_name) {}
+
+ // Called after an extension is uninstalled. The extension no longer exsit in
+ // any of the ExtensionRegistry sets (enabled, disabled, etc.).
+ virtual void OnExtensionUninstalled(content::BrowserContext* browser_context,
+ const Extension* extension) {}
};
} // 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