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

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

Issue 386033002: Prune shared extendion module after extension updating. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review issues Created 6 years, 5 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/external_install_manager.cc
diff --git a/chrome/browser/extensions/external_install_manager.cc b/chrome/browser/extensions/external_install_manager.cc
index daf3e72b6fe5cf4183cf43248ab27bc0846f7aad..c8bd112988583b490bca5044be58db24e955a459 100644
--- a/chrome/browser/extensions/external_install_manager.cc
+++ b/chrome/browser/extensions/external_install_manager.cc
@@ -175,7 +175,8 @@ void ExternalInstallManager::OnExtensionLoaded(
void ExternalInstallManager::OnExtensionInstalled(
content::BrowserContext* browser_context,
- const Extension* extension) {
+ const Extension* extension,
+ bool is_update) {
// Certain extension locations are specific enough that we can
// auto-acknowledge any extension that came from one of them.
if (Manifest::IsPolicyLocation(extension->location()) ||
« no previous file with comments | « chrome/browser/extensions/external_install_manager.h ('k') | chrome/browser/extensions/shared_module_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698