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

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

Issue 3069014: Convert a bunch of easy AppendSwitchWithValue to *ASCII. (Closed)
Patch Set: fix Created 10 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/extensions/extension_browsertest.cc
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
index 71c9706a7e7b6436fcf7a24ecb636fad76ed3505..dedcf8f6d2d88bc60a65b1707da5a6a5387328eb 100644
--- a/chrome/browser/extensions/extension_browsertest.cc
+++ b/chrome/browser/extensions/extension_browsertest.cc
@@ -53,9 +53,9 @@ void ExtensionBrowserTest::SetUpCommandLine(CommandLine* command_line) {
// This makes sure that we create the Default profile first, with no
// ExtensionsService and then the real profile with one, as we do when
// running on chromeos.
- command_line->AppendSwitchWithValue(
- switches::kLoginUser, "TestUser@gmail.com");
- command_line->AppendSwitchWithValue(switches::kLoginProfile, "user");
+ command_line->AppendSwitchASCII(switches::kLoginUser,
+ "TestUser@gmail.com");
+ command_line->AppendSwitchASCII(switches::kLoginProfile, "user");
command_line->AppendSwitch(switches::kNoFirstRun);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698