| Index: mojo/public/cpp/application/lib/mojo_main_standalone.cc
|
| diff --git a/mojo/public/cpp/application/lib/mojo_main_standalone.cc b/mojo/public/cpp/application/lib/mojo_main_standalone.cc
|
| deleted file mode 100644
|
| index 6071b6b4f280aefe24b8b7ce3523f2c3341da880..0000000000000000000000000000000000000000
|
| --- a/mojo/public/cpp/application/lib/mojo_main_standalone.cc
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright 2014 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 "mojo/public/cpp/application/application_delegate.h"
|
| -#include "mojo/public/cpp/application/application_impl.h"
|
| -#include "mojo/public/cpp/environment/environment.h"
|
| -#include "mojo/public/cpp/utility/run_loop.h"
|
| -
|
| -extern "C" APPLICATION_EXPORT MojoResult CDECL MojoMain(
|
| - MojoHandle shell_handle) {
|
| - mojo::Environment env;
|
| - mojo::ApplicationDelegate* delegate = NULL;
|
| - {
|
| - // We have to shut down the RunLoop before destroying the
|
| - // ApplicationDelegate.
|
| - mojo::RunLoop loop;
|
| - delegate = mojo::ApplicationDelegate::Create();
|
| - {
|
| - mojo::ApplicationImpl app(delegate);
|
| - app.BindShell(shell_handle);
|
| - loop.Run();
|
| - }
|
| - }
|
| - delete delegate;
|
| -
|
| - return MOJO_RESULT_OK;
|
| -}
|
|
|