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

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

Issue 146093006: Prompt for extension install on startup even when --force-app-mode is passed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/startup_helper.cc
diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc
index 3719251609a821ff07956f375971a1f5182ca66a..e6f74a7c6e4eedd734dd81e187907ee6f4190df0 100644
--- a/chrome/browser/extensions/startup_helper.cc
+++ b/chrome/browser/extensions/startup_helper.cc
@@ -293,9 +293,8 @@ bool StartupHelper::InstallFromWebstore(const CommandLine& cmd_line,
}
AppInstallHelper helper;
- helper.BeginInstall(profile, id,
- !cmd_line.HasSwitch(switches::kForceAppMode),
- base::MessageLoop::QuitWhenIdleClosure());
+ helper.BeginInstall(
+ profile, id, true, base::MessageLoop::QuitWhenIdleClosure());
base::MessageLoop::current()->Run();
if (!helper.success())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698