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

Unified Diff: net/test/test_server_win.cc

Issue 7386002: Rename CommandLine::GetCommandLineString(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge. Created 9 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
« no previous file with comments | « net/test/test_server_posix.cc ('k') | net/tools/dump_cache/dump_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/test_server_win.cc
diff --git a/net/test/test_server_win.cc b/net/test/test_server_win.cc
index 96c899e41cf4141320cacfe04d81ccf6337ce9ba..b01da32f01cdca4cbbfa2df7b7dad36a347b589e 100644
--- a/net/test/test_server_win.cc
+++ b/net/test/test_server_win.cc
@@ -38,7 +38,7 @@ bool LaunchTestServerAsJob(const CommandLine& cmdline,
// automatically associated with a job object created by the debugger.
// The CREATE_BREAKAWAY_FROM_JOB flag is used to prevent this.
if (!CreateProcess(
- NULL, const_cast<wchar_t*>(cmdline.command_line_string().c_str()),
+ NULL, const_cast<wchar_t*>(cmdline.GetCommandLineString().c_str()),
NULL, NULL, TRUE, CREATE_BREAKAWAY_FROM_JOB, NULL, NULL,
&startup_info, &process_info)) {
LOG(ERROR) << "Could not create process.";
@@ -183,7 +183,7 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) {
true,
&process_handle_,
&job_handle_)) {
- LOG(ERROR) << "Failed to launch " << python_command.command_line_string();
+ LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString();
return false;
}
« no previous file with comments | « net/test/test_server_posix.cc ('k') | net/tools/dump_cache/dump_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698