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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator.cc

Issue 1291793005: Remove command line flag to install an ephemeral app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops Created 5 years, 4 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/ui/startup/startup_browser_creator.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
index b0ed5aac446bd2f3b26325a6869b767b998cdf15..7c7787062d3ea1d449d0f7a87c9290c0d92ecd88 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc
@@ -531,14 +531,6 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
net::SetExplicitlyAllowedPorts(allowed_ports);
}
- if (command_line.HasSwitch(switches::kInstallEphemeralAppFromWebstore)) {
- extensions::StartupHelper helper;
- helper.InstallEphemeralApp(command_line, last_used_profile);
- // Nothing more needs to be done, so return false to stop launching and
- // quit.
- return false;
- }
-
if (command_line.HasSwitch(switches::kValidateCrx)) {
if (!process_startup) {
LOG(ERROR) << "chrome is already running; you must close all running "

Powered by Google App Engine
This is Rietveld 408576698