diff options
Diffstat (limited to 'mojo/shell/desktop/main.cc')
-rw-r--r-- | mojo/shell/desktop/main.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mojo/shell/desktop/main.cc b/mojo/shell/desktop/main.cc deleted file mode 100644 index ca89c5d..0000000 --- a/mojo/shell/desktop/main.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2013 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 "base/at_exit.h" -#include "base/command_line.h" -#include "mojo/shell/child_process.h" -#include "mojo/shell/desktop/launcher_process.h" -#include "mojo/shell/init.h" -#include "mojo/shell/switches.h" - -int main(int argc, char** argv) { - base::AtExitManager at_exit; - base::CommandLine::Init(argc, argv); - - mojo::shell::InitializeLogging(); - - const base::CommandLine& command_line = - *base::CommandLine::ForCurrentProcess(); - if (command_line.HasSwitch(switches::kChildProcess)) - return mojo::shell::ChildProcessMain(); - - return mojo::shell::LauncherProcessMain(argc, argv); -} |