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

Unified Diff: chrome/test/automation/automation_proxy_uitest.cc

Issue 3134008: CommandLine: eliminate wstring-accepting AppendLooseValue (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: utf8 Created 10 years, 4 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/test/automation/automation_proxy_uitest.cc
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc
index 1a187b9c9e1aa6fabd462f179da1d1e912b86593..7f530bcf8b00c1a75f4522cdd2435b50a1b6b797 100644
--- a/chrome/test/automation/automation_proxy_uitest.cc
+++ b/chrome/test/automation/automation_proxy_uitest.cc
@@ -343,8 +343,8 @@ class AutomationProxyTest2 : public AutomationProxyVisibleTest {
document2_ = test_data_directory_.AppendASCII("title2.html");
launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY);
- launch_arguments_.AppendLooseValue(document1_.ToWStringHack());
- launch_arguments_.AppendLooseValue(document2_.ToWStringHack());
+ launch_arguments_.AppendArgPath(document1_);
+ launch_arguments_.AppendArgPath(document2_);
}
FilePath document1_;
@@ -560,7 +560,7 @@ class AutomationProxyTest3 : public UITest {
dom_automation_enabled_ = true;
launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY);
- launch_arguments_.AppendLooseValue(document1_.ToWStringHack());
+ launch_arguments_.AppendArgPath(document1_);
}
FilePath document1_;

Powered by Google App Engine
This is Rietveld 408576698