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

Unified Diff: chrome/service/service_main.cc

Issue 3384001: The LSID for Cloud Print can now be supplied on the command line even if Clou... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | « no previous file | chrome/service/service_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_main.cc
===================================================================
--- chrome/service/service_main.cc (revision 59251)
+++ chrome/service/service_main.cc (working copy)
@@ -29,16 +29,8 @@
#endif // defined(OS_WIN)
ServiceProcess service_process;
- service_process.Initialize(&main_message_loop);
+ service_process.Initialize(&main_message_loop, parameters.command_line_);
- // Enable Cloud Print if needed.
- if (parameters.command_line_.HasSwitch(switches::kEnableCloudPrintProxy)) {
- std::string lsid =
- parameters.command_line_.GetSwitchValueASCII(
- switches::kServiceAccountLsid);
- service_process.GetCloudPrintProxy()->EnableForUser(lsid);
- }
-
MessageLoop::current()->Run();
service_process.Teardown();
return 0;
« no previous file with comments | « no previous file | chrome/service/service_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698