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

Unified Diff: chrome/service/service_utility_process_host.cc

Issue 3069014: Convert a bunch of easy AppendSwitchWithValue to *ASCII. (Closed)
Patch Set: fix Created 10 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
Index: chrome/service/service_utility_process_host.cc
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
index 3776bc0c4013e03a6cc8c197cfcfe98e3f813796..21daaf6a2505ddea7f19b21fe39d9c661dc1d021 100644
--- a/chrome/service/service_utility_process_host.cc
+++ b/chrome/service/service_utility_process_host.cc
@@ -81,9 +81,8 @@ bool ServiceUtilityProcessHost::StartProcess() {
}
CommandLine cmd_line(exe_path);
- cmd_line.AppendSwitchWithValue(switches::kProcessType,
- switches::kUtilityProcess);
- cmd_line.AppendSwitchWithValue(switches::kProcessChannelID, channel_id());
+ cmd_line.AppendSwitchASCII(switches::kProcessType, switches::kUtilityProcess);
+ cmd_line.AppendSwitchASCII(switches::kProcessChannelID, channel_id());
cmd_line.AppendSwitch(switches::kLang);
return Launch(&cmd_line);

Powered by Google App Engine
This is Rietveld 408576698