summaryrefslogtreecommitdiffstats
path: root/net/test
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 04:54:52 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 04:54:52 +0000
commit61a4c6f8372350bedd95d8834c8bfd1b36a27c1b (patch)
treed2c796ee2336083b018d6a38fc54627b26559498 /net/test
parent480ac51965719719beb1761274491acb6eda95e9 (diff)
downloadchromium_src-61a4c6f8372350bedd95d8834c8bfd1b36a27c1b.zip
chromium_src-61a4c6f8372350bedd95d8834c8bfd1b36a27c1b.tar.gz
chromium_src-61a4c6f8372350bedd95d8834c8bfd1b36a27c1b.tar.bz2
Rename CommandLine::GetCommandLineString().
Fix string hackery in net/tools/dump_cache/dump_cache.cc Fix const casts in chrome/installer/util/product.cc and base/process_util_win.cc. BUG=73195 TEST=none Review URL: http://codereview.chromium.org/7386002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r--net/test/test_server_posix.cc2
-rw-r--r--net/test/test_server_win.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/test/test_server_posix.cc b/net/test/test_server_posix.cc
index 3455694..2efc54f 100644
--- a/net/test/test_server_posix.cc
+++ b/net/test/test_server_posix.cc
@@ -125,7 +125,7 @@ bool TestServer::LaunchPython(const FilePath& testserver_path) {
base::LaunchOptions options;
options.fds_to_remap = &map_write_fd;
if (!base::LaunchProcess(python_command, options, &process_handle_)) {
- LOG(ERROR) << "Failed to launch " << python_command.command_line_string();
+ LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString();
return false;
}
diff --git a/net/test/test_server_win.cc b/net/test/test_server_win.cc
index 96c899e..b01da32 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;
}