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

Unified Diff: chrome_frame/chrome_launcher_unittest.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_frame/chrome_launcher_unittest.cc
diff --git a/chrome_frame/chrome_launcher_unittest.cc b/chrome_frame/chrome_launcher_unittest.cc
index b1022db66f028b28280b7de69f42ad21fa57bc34..7a67f6fb820cbc12476b0b55ddbffb10d3fa874d 100644
--- a/chrome_frame/chrome_launcher_unittest.cc
+++ b/chrome_frame/chrome_launcher_unittest.cc
@@ -10,7 +10,7 @@
TEST(ChromeLauncher, IsValidCommandLine) {
CommandLine bad(base::FilePath(L"dummy.exe"));
- bad.AppendSwitch(switches::kNoFirstRun); // in whitelist
+ bad.AppendSwitch(switches::kSkipFirstRun); // in whitelist
bad.AppendSwitch("no-such-switch"); // does not exist
bad.AppendSwitch(switches::kHomePage); // exists but not in whitelist
@@ -18,7 +18,7 @@ TEST(ChromeLauncher, IsValidCommandLine) {
bad.GetCommandLineString().c_str()));
CommandLine good(base::FilePath(L"dummy.exe"));
- good.AppendSwitch(switches::kNoFirstRun); // in whitelist
+ good.AppendSwitch(switches::kSkipFirstRun); // in whitelist
good.AppendSwitch(switches::kDisableBackgroundMode); // in whitelist
good.AppendSwitchASCII(switches::kUserDataDir, "foo"); // in whitelist

Powered by Google App Engine
This is Rietveld 408576698