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

Unified Diff: chrome/browser/process_singleton_browsertest.cc

Issue 21150006: Introduce --cancel-first-run and reduce the strength of --no-first-run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add first_run::IsFirstRunSuppressed() Created 7 years, 5 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/process_singleton_browsertest.cc
diff --git a/chrome/browser/process_singleton_browsertest.cc b/chrome/browser/process_singleton_browsertest.cc
index ad09a1c015d798684c5941b0514cdfca0361d3bf..1551ee0d72348cbbec77ee87019500edce45653d 100644
--- a/chrome/browser/process_singleton_browsertest.cc
+++ b/chrome/browser/process_singleton_browsertest.cc
@@ -67,7 +67,7 @@ class ChromeStarter : public base::RefCountedThreadSafe<ChromeStarter> {
if (first_run)
command_line.AppendSwitch(switches::kForceFirstRun);
else
- command_line.AppendSwitch(switches::kNoFirstRun);
+ command_line.AppendSwitch(switches::kSkipFirstRun);
// Add the normal test-mode switches, except for the ones we're adding
// ourselves.
@@ -79,7 +79,7 @@ class ChromeStarter : public base::RefCountedThreadSafe<ChromeStarter> {
const std::string& switch_name = i->first;
if (switch_name == switches::kUserDataDir ||
switch_name == switches::kForceFirstRun ||
- switch_name == switches::kNoFirstRun)
+ switch_name == switches::kSkipFirstRun)
continue;
command_line.AppendSwitchNative(switch_name, i->second);

Powered by Google App Engine
This is Rietveld 408576698