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

Unified Diff: extensions/browser/extension_registry.h

Issue 326213004: Invoke callback from WebstoreInstaller when installation is fully complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self nits 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.h
diff --git a/extensions/browser/extension_registry.h b/extensions/browser/extension_registry.h
index 646863c224623475d3b242333fe033699ad582bd..3d1076315375a5c936e06d9724daac1e4f2de88d 100644
--- a/extensions/browser/extension_registry.h
+++ b/extensions/browser/extension_registry.h
@@ -86,6 +86,10 @@ class ExtensionRegistry : public KeyedService {
bool from_ephemeral,
const std::string& old_name);
+ // Invokes the observer method OnExtensionInstalled(). The extension must be
+ // contained in one of the registry's extension sets.
+ void TriggerOnInstalled(const Extension* extension);
+
// Invokes the observer method OnExtensionUninstalled(). The extension must
// not be any installed extension with |extension|'s ID.
void TriggerOnUninstalled(const Extension* extension);

Powered by Google App Engine
This is Rietveld 408576698