summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 22:35:33 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 22:35:33 +0000
commit0436fcd542e8ce436fe9395a64cc03fa369276b1 (patch)
tree089866b06c42ae4fa41b9d5b8a595c06603f3a57 /net
parenta33cad2b626eef69aa54943c985f9ab030a8edb9 (diff)
downloadchromium_src-0436fcd542e8ce436fe9395a64cc03fa369276b1.zip
chromium_src-0436fcd542e8ce436fe9395a64cc03fa369276b1.tar.gz
chromium_src-0436fcd542e8ce436fe9395a64cc03fa369276b1.tar.bz2
Remove deprecated CommandLine API.
Cleaned up the final few callers, punting the remaining harder ones to TODOs. Review URL: http://codereview.chromium.org/3043033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/tools/dump_cache/dump_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tools/dump_cache/dump_cache.cc b/net/tools/dump_cache/dump_cache.cc
index 29caefda..a8a477f 100644
--- a/net/tools/dump_cache/dump_cache.cc
+++ b/net/tools/dump_cache/dump_cache.cc
@@ -95,7 +95,8 @@ int LaunchSlave(const CommandLine& command_line,
if (do_upgrade || do_convert_to_text)
new_command_line.AppendSwitch(kSlave);
- new_command_line.AppendSwitchWithValue(kPipe, pipe_number);
+ // TODO(evanm): remove needless usage of wstring from here and elsewhere.
+ new_command_line.AppendSwitchASCII(kPipe, WideToASCII(pipe_number));
if (!base::LaunchApp(new_command_line, false, false, NULL)) {
printf("Unable to launch the needed version of this tool: %ls\n",
new_program.c_str());