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

Unified Diff: remoting/host/setup/daemon_controller_delegate_linux.cc

Issue 290173011: Cleanup: Use base::CommandLine in remoting/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « remoting/host/service_urls.cc ('k') | remoting/host/setup/me2me_native_messaging_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/daemon_controller_delegate_linux.cc
===================================================================
--- remoting/host/setup/daemon_controller_delegate_linux.cc (revision 272152)
+++ remoting/host/setup/daemon_controller_delegate_linux.cc (working copy)
@@ -85,7 +85,7 @@
LOG(ERROR) << "GetScriptPath() failed.";
return false;
}
- CommandLine command_line(script_path);
+ base::CommandLine command_line(script_path);
for (unsigned int i = 0; i < args.size(); ++i) {
command_line.AppendArg(args[i]);
}
@@ -132,7 +132,7 @@
if (!GetScriptPath(&script_path)) {
return DaemonController::STATE_NOT_IMPLEMENTED;
}
- CommandLine command_line(script_path);
+ base::CommandLine command_line(script_path);
command_line.AppendArg("--get-status");
std::string status;
@@ -182,7 +182,7 @@
result->SetString(kXmppLoginConfigPath, value);
}
} else {
- result.reset(); // Return NULL in case of error.
+ result.reset(); // Return NULL in case of error.
}
}
@@ -282,7 +282,7 @@
if (!GetScriptPath(&script_path)) {
return std::string();
}
- CommandLine command_line(script_path);
+ base::CommandLine command_line(script_path);
command_line.AppendArg("--host-version");
std::string version;
« no previous file with comments | « remoting/host/service_urls.cc ('k') | remoting/host/setup/me2me_native_messaging_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698