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

Unified Diff: extensions/browser/extension_registry.cc

Issue 298023009: Remove InstallTracker's extension load, unload observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK 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
Index: extensions/browser/extension_registry.cc
diff --git a/extensions/browser/extension_registry.cc b/extensions/browser/extension_registry.cc
index 959fdc0436acb9d07d83ba0f463065e16ce6c11d..a0175c25882f0211f5fd308becefbeed43e0bebe 100644
--- a/extensions/browser/extension_registry.cc
+++ b/extensions/browser/extension_registry.cc
@@ -151,6 +151,7 @@ void ExtensionRegistry::SetDisabledModificationCallback(
void ExtensionRegistry::Shutdown() {
// Release references to all Extension objects in the sets.
ClearAll();
+ FOR_EACH_OBSERVER(ExtensionRegistryObserver, observers_, OnShutdown(this));
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698