From 05076ba206e040b31fdb41a39cc10a2ecc4adf9d Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Fri, 30 Jul 2010 05:59:57 +0000 Subject: Convert a bunch of easy AppendSwitchWithValue to *ASCII. For this patch, I skipped over any instance where it wasn't a nearly trivial change. Review URL: http://codereview.chromium.org/3069014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54285 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/plugin_process_host.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/browser/plugin_process_host.cc') diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc index d6380cc..3dc50f5 100644 --- a/chrome/browser/plugin_process_host.cc +++ b/chrome/browser/plugin_process_host.cc @@ -361,8 +361,7 @@ bool PluginProcessHost::Init(const WebPluginInfo& info, CommandLine* cmd_line = new CommandLine(exe_path); // Put the process type and plugin path first so they're easier to see // in process listings using native process management tools. - cmd_line->AppendSwitchWithValue(switches::kProcessType, - switches::kPluginProcess); + cmd_line->AppendSwitchASCII(switches::kProcessType, switches::kPluginProcess); cmd_line->AppendSwitchPath(switches::kPluginPath, info.path); if (logging::DialogsAreSuppressed()) @@ -414,7 +413,7 @@ bool PluginProcessHost::Init(const WebPluginInfo& info, DCHECK(!data_dir.empty()); cmd_line->AppendSwitchPath(switches::kPluginDataDir, data_dir); - cmd_line->AppendSwitchWithValue(switches::kProcessChannelID, channel_id()); + cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); SetCrashReporterCommandLine(cmd_line); -- cgit v1.1