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

Unified Diff: services/service_manager/public/cpp/lib/service_runner.cc

Issue 2557213002: Build services as standalone executables (Closed)
Patch Set: remove DCHECKs with side effects -_- Created 4 years 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 | « services/service_manager/native_runner.h ('k') | services/service_manager/public/cpp/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/service_manager/public/cpp/lib/service_runner.cc
diff --git a/services/service_manager/public/cpp/lib/service_runner.cc b/services/service_manager/public/cpp/lib/service_runner.cc
index 2b8b388600ef6334dfbecb76cc499914bef27c40..ac333d22833ecd406db7d623324c9daefff27467 100644
--- a/services/service_manager/public/cpp/lib/service_runner.cc
+++ b/services/service_manager/public/cpp/lib/service_runner.cc
@@ -71,12 +71,7 @@ MojoResult ServiceRunner::Run(MojoHandle service_request_handle,
}
MojoResult ServiceRunner::Run(MojoHandle service_request_handle) {
- bool init_base = true;
- if (base::CommandLine::InitializedForCurrentProcess()) {
- init_base =
- !base::CommandLine::ForCurrentProcess()->HasSwitch("single-process");
- }
- return Run(service_request_handle, init_base);
+ return Run(service_request_handle, false);
}
void ServiceRunner::Quit() {
« no previous file with comments | « services/service_manager/native_runner.h ('k') | services/service_manager/public/cpp/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698