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

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

Issue 617833003: Remove --install-from-webstore and --limited-install-from-webstore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/extensions/startup_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index ec96a31ae03e1144147a7ca5a67f1b0a16f12783..443f5eefeb54ee5c2500148ead8f83282dc7362d 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -391,8 +391,7 @@ void ExtensionService::Init() {
DCHECK_EQ(registry_->enabled_extensions().size(), 0u);
const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
- if (cmd_line->HasSwitch(switches::kInstallFromWebstore) ||
- cmd_line->HasSwitch(switches::kLimitedInstallFromWebstore)) {
+ if (cmd_line->HasSwitch(switches::kInstallEphemeralAppFromWebstore)) {
// The sole purpose of this launch is to install a new extension from CWS
// and immediately terminate: loading already installed extensions is
// unnecessary and may interfere with the inline install dialog (e.g. if an
« no previous file with comments | « no previous file | chrome/browser/extensions/startup_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698