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

Unified Diff: win8/delegate_execute/delegate_execute_util_unittest.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « webkit/renderer/cpp_bound_class.cc ('k') | win8/metro_driver/secondary_tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/delegate_execute/delegate_execute_util_unittest.cc
diff --git a/win8/delegate_execute/delegate_execute_util_unittest.cc b/win8/delegate_execute/delegate_execute_util_unittest.cc
index ca444b80db3303ba35f35a5965f7dac690c7f629..40a2e7144bb6deb8dea896813b1636e633bb626b 100644
--- a/win8/delegate_execute/delegate_execute_util_unittest.cc
+++ b/win8/delegate_execute/delegate_execute_util_unittest.cc
@@ -28,7 +28,8 @@ TEST(DelegateExecuteUtil, CommandLineFromParametersTest) {
// Parameters with a switch are parsed properly.
cl = delegate_execute::CommandLineFromParameters(
- base::StringPrintf(L"--%ls", ASCIIToWide(kSomeSwitch).c_str()).c_str());
+ base::StringPrintf(L"--%ls",
+ base::ASCIIToWide(kSomeSwitch).c_str()).c_str());
EXPECT_EQ(std::wstring(), cl.GetProgram().value());
EXPECT_TRUE(cl.HasSwitch(kSomeSwitch));
}
@@ -60,7 +61,8 @@ TEST(DelegateExecuteUtil, MakeChromeCommandLineTest) {
// Params with switchs and args plus arg contains the arg.
cl = delegate_execute::MakeChromeCommandLine(
this_exe, delegate_execute::CommandLineFromParameters(
- base::StringPrintf(L"--%ls -- %ls", ASCIIToWide(kSomeSwitch).c_str(),
+ base::StringPrintf(L"--%ls -- %ls",
+ base::ASCIIToWide(kSomeSwitch).c_str(),
kOtherArgument).c_str()),
base::string16(kSomeArgument));
EXPECT_EQ(5, cl.argv().size());
« no previous file with comments | « webkit/renderer/cpp_bound_class.cc ('k') | win8/metro_driver/secondary_tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698