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

Unified Diff: extensions/browser/extension_registry.cc

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review, Devlin review. Created 5 years 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.h ('k') | extensions/browser/extension_registry_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_registry.cc
diff --git a/extensions/browser/extension_registry.cc b/extensions/browser/extension_registry.cc
index 777ebe9fe1bfe28cd7d40b2fd6a946a4e2be1915..9be2e70f4a78d53943718302aec63f384126b28b 100644
--- a/extensions/browser/extension_registry.cc
+++ b/extensions/browser/extension_registry.cc
@@ -75,17 +75,14 @@ void ExtensionRegistry::TriggerOnUnloaded(
void ExtensionRegistry::TriggerOnWillBeInstalled(const Extension* extension,
bool is_update,
- bool from_ephemeral,
const std::string& old_name) {
CHECK(extension);
DCHECK_EQ(is_update,
GenerateInstalledExtensionsSet()->Contains(extension->id()));
DCHECK_EQ(is_update, !old_name.empty());
- FOR_EACH_OBSERVER(
- ExtensionRegistryObserver,
- observers_,
- OnExtensionWillBeInstalled(
- browser_context_, extension, is_update, from_ephemeral, old_name));
+ FOR_EACH_OBSERVER(ExtensionRegistryObserver, observers_,
+ OnExtensionWillBeInstalled(browser_context_, extension,
+ is_update, old_name));
}
void ExtensionRegistry::TriggerOnInstalled(const Extension* extension,
« no previous file with comments | « extensions/browser/extension_registry.h ('k') | extensions/browser/extension_registry_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698