| Index: services/shell/background/background_shell_main.cc
|
| diff --git a/services/shell/background/background_shell_main.cc b/services/shell/background/background_shell_main.cc
|
| deleted file mode 100644
|
| index e8d7b21c32f897acaaf254cf7eacb4b234b846c1..0000000000000000000000000000000000000000
|
| --- a/services/shell/background/background_shell_main.cc
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -// Copyright 2016 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/background/background_shell_main.h"
|
| -
|
| -#include "base/at_exit.h"
|
| -#include "base/command_line.h"
|
| -#include "base/debug/debugger.h"
|
| -#include "base/process/launch.h"
|
| -#include "services/shell/runner/common/switches.h"
|
| -#include "services/shell/runner/host/child_process.h"
|
| -#include "services/shell/runner/init.h"
|
| -
|
| -namespace shell {
|
| -namespace {
|
| -
|
| -int RunChildProcess() {
|
| - base::AtExitManager at_exit;
|
| - InitializeLogging();
|
| - WaitForDebuggerIfNecessary();
|
| -#if !defined(OFFICIAL_BUILD) && defined(OS_WIN)
|
| - base::RouteStdioToConsole(false);
|
| -#endif
|
| - return ChildProcessMain();
|
| -}
|
| -
|
| -} // namespace
|
| -} // namespace shell
|
| -
|
| -int main(int argc, char** argv) {
|
| - base::CommandLine::Init(argc, argv);
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kChildProcess)) {
|
| - return shell::RunChildProcess();
|
| - }
|
| - // Reset CommandLine as most likely main() is going to use CommandLine too
|
| - // and expect to be able to initialize it.
|
| - base::CommandLine::Reset();
|
| - return MasterProcessMain(argc, argv);
|
| -}
|
|
|