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

Unified Diff: services/shell/standalone/desktop/main_helper.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 | « services/shell/standalone/desktop/main_helper.h ('k') | services/shell/standalone/tracer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/standalone/desktop/main_helper.cc
diff --git a/services/shell/standalone/desktop/main_helper.cc b/services/shell/standalone/desktop/main_helper.cc
deleted file mode 100644
index d51f421c1d8a71a05b3a98ee8503e6f4f33dcc1f..0000000000000000000000000000000000000000
--- a/services/shell/standalone/desktop/main_helper.cc
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "services/shell/standalone/desktop/main_helper.h"
-
-#include "base/at_exit.h"
-#include "base/base_switches.h"
-#include "base/command_line.h"
-#include "base/debug/debugger.h"
-#include "base/files/file_path.h"
-#include "base/logging.h"
-#include "base/process/launch.h"
-#include "base/stl_util.h"
-#include "base/strings/string_split.h"
-#include "base/strings/utf_string_conversions.h"
-#include "services/shell/runner/common/switches.h"
-#include "services/shell/runner/host/child_process.h"
-#include "services/shell/runner/init.h"
-#include "services/shell/standalone/desktop/launcher_process.h"
-
-#if defined(OS_WIN)
-#include <windows.h>
-#elif (OS_POSIX)
-#include <unistd.h>
-#endif
-
-namespace shell {
-
-int StandaloneShellMain(int argc, char** argv) {
- base::CommandLine::Init(argc, argv);
- const base::CommandLine& command_line =
- *base::CommandLine::ForCurrentProcess();
-
- base::AtExitManager at_exit;
- InitializeLogging();
- WaitForDebuggerIfNecessary();
-
-#if !defined(OFFICIAL_BUILD) && defined(OS_WIN)
- base::RouteStdioToConsole(false);
-#endif
-
- if (command_line.HasSwitch(switches::kChildProcess))
- return ChildProcessMain();
-
- return LauncherProcessMain();
-}
-
-} // namespace shell
« no previous file with comments | « services/shell/standalone/desktop/main_helper.h ('k') | services/shell/standalone/tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698