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

Unified Diff: base/process_util_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
Index: base/process_util_win.cc
diff --git a/base/process_util_win.cc b/base/process_util_win.cc
index c11878ee35c7f54e94f017d4e2ac6b0885b99309..4bbad5b8d5703bf6797dee62fd1ed563d83fd434 100644
--- a/base/process_util_win.cc
+++ b/base/process_util_win.cc
@@ -269,7 +269,7 @@ bool LaunchProcess(const string16& cmdline,
bool LaunchProcess(const CommandLine& cmdline,
const LaunchOptions& options) {
- return LaunchProcess(cmdline.command_line_string(), options);
+ return LaunchProcess(cmdline.GetCommandLineString(), options);
}
// Attempts to kill the process identified by the given process
@@ -328,7 +328,7 @@ bool GetAppOutput(const CommandLine& cl, std::string* output) {
// Create the child process.
if (!CreateProcess(NULL,
- const_cast<wchar_t*>(cl.command_line_string().c_str()),
+ const_cast<wchar_t*>(cl.GetCommandLineString().c_str()),
NULL, NULL,
TRUE, // Handles are inherited.
0, NULL, NULL, &start_info, &proc_info)) {

Powered by Google App Engine
This is Rietveld 408576698