From 4f08c83f354cb0c9d2ee5c79c39c1ad08e560cdf Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Thu, 29 Jul 2010 23:02:34 +0000 Subject: CommandLine: add a CopySwitchesFrom() and AppendSwitchPath() These are two common patterns in Chrome code: copying a subset of switches from one CommandLine to another, and appending a FilePath to a CommandLine. This sets me up to do a lot more deprecation in a follow-up change. Review URL: http://codereview.chromium.org/3012021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54218 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_launcher_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome_frame/chrome_launcher_unittest.cc') diff --git a/chrome_frame/chrome_launcher_unittest.cc b/chrome_frame/chrome_launcher_unittest.cc index 835fc35..9511b40 100644 --- a/chrome_frame/chrome_launcher_unittest.cc +++ b/chrome_frame/chrome_launcher_unittest.cc @@ -20,7 +20,7 @@ TEST(ChromeLauncher, IsValidCommandLine) { CommandLine good(FilePath(L"dummy.exe")); good.AppendSwitch(switches::kNoFirstRun); // in whitelist - good.AppendSwitchWithValue(switches::kUserDataDir, L"foo"); // in whitelist + good.AppendSwitchWithValue(switches::kUserDataDir, "foo"); // in whitelist EXPECT_TRUE(chrome_launcher::IsValidCommandLine( good.command_line_string().c_str())); -- cgit v1.1