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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 279073003: Add a function triggering extension installed to ExtensionRegistryObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 037abdbbdbe63e221bd4e4d1888fafcbb310cb18..5b777ab5eef59d3286550bce15ca2a4988c90550 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -1917,6 +1917,8 @@ void ExtensionService::FinishInstallation(const Extension* extension) {
content::Source<Profile>(profile_),
content::Details<const extensions::InstalledExtensionInfo>(&details));
+ ExtensionRegistry::Get(profile_)->TriggerOnInstalled(extension, details);
+
bool unacknowledged_external = IsUnacknowledgedExternalExtension(extension);
// Unpacked extensions default to allowing file access, but if that has been
« no previous file with comments | « no previous file | chrome/browser/extensions/install_tracker.h » ('j') | chrome/browser/extensions/install_tracker.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698