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

Unified Diff: remoting/host/win/host_service.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/usage_stats_consent_mac.cc ('k') | remoting/host/win/launch_process_with_token.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/host_service.cc
===================================================================
--- remoting/host/win/host_service.cc (revision 272152)
+++ remoting/host/win/host_service.cc (working copy)
@@ -65,8 +65,8 @@
return Singleton<HostService>::get();
}
-bool HostService::InitWithCommandLine(const CommandLine* command_line) {
- CommandLine::StringVector args = command_line->GetArgs();
+bool HostService::InitWithCommandLine(const base::CommandLine* command_line) {
+ base::CommandLine::StringVector args = command_line->GetArgs();
if (!args.empty()) {
LOG(ERROR) << "No positional parameters expected.";
return false;
@@ -433,11 +433,11 @@
int DaemonProcessMain() {
HostService* service = HostService::GetInstance();
- if (!service->InitWithCommandLine(CommandLine::ForCurrentProcess())) {
+ if (!service->InitWithCommandLine(base::CommandLine::ForCurrentProcess())) {
return kUsageExitCode;
}
return service->Run();
}
-} // namespace remoting
+} // namespace remoting
« no previous file with comments | « remoting/host/usage_stats_consent_mac.cc ('k') | remoting/host/win/launch_process_with_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698