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

Unified Diff: chrome/installer/setup/setup_main.cc

Issue 11636031: [Fixit Dec-2012] Refactor first_run, very few things should depend on whether the First Run senti... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: --first-run => --force-first-run Created 8 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
Index: chrome/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index f781f064748c99b967409f60b7a5249997604668..fef8e4cd4ddf4f8aa21a4d365dcb19cd068ec420 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -588,7 +588,7 @@ bool CheckPreInstallConditions(const InstallationState& original_state,
*status = installer::EXISTING_VERSION_LAUNCHED;
FilePath chrome_exe = install_path.Append(installer::kChromeExe);
CommandLine cmd(chrome_exe);
- cmd.AppendSwitch(switches::kFirstRun);
+ cmd.AppendSwitch(switches::kForceFirstRun);
installer_state->WriteInstallerResult(*status, 0, NULL);
VLOG(1) << "Launching existing system-level chrome instead.";
base::LaunchProcess(cmd, base::LaunchOptions(), NULL);
« chrome/browser/chrome_browser_main.cc ('K') | « chrome/common/switch_utils_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698