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

Unified Diff: services/service_manager/standalone/desktop/main_helper.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/standalone/context.cc ('k') | services/service_manager/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/service_manager/standalone/desktop/main_helper.cc
diff --git a/services/service_manager/standalone/desktop/main_helper.cc b/services/service_manager/standalone/desktop/main_helper.cc
index d3f11c8c588e64db843f2bcf38ad02a972d2db02..45d2f03f7fe1f7ad937da3d886269c3f6a31ebcd 100644
--- a/services/service_manager/standalone/desktop/main_helper.cc
+++ b/services/service_manager/standalone/desktop/main_helper.cc
@@ -15,7 +15,6 @@
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "services/service_manager/runner/common/switches.h"
-#include "services/service_manager/runner/host/child_process.h"
#include "services/service_manager/runner/init.h"
#include "services/service_manager/standalone/desktop/launcher_process.h"
@@ -29,8 +28,6 @@ namespace service_manager {
int StandaloneServiceManagerMain(int argc, char** argv) {
base::CommandLine::Init(argc, argv);
- const base::CommandLine& command_line =
- *base::CommandLine::ForCurrentProcess();
base::AtExitManager at_exit;
InitializeLogging();
@@ -40,9 +37,6 @@ int StandaloneServiceManagerMain(int argc, char** argv) {
base::RouteStdioToConsole(false);
#endif
- if (command_line.HasSwitch(switches::kChildProcess))
- return ChildProcessMain();
-
return LauncherProcessMain();
}
« no previous file with comments | « services/service_manager/standalone/context.cc ('k') | services/service_manager/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698