Upstream version 11.39.250.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / extension_service.cc
index 3f1b472..4a4b926 100644 (file)
@@ -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