| Index: sky/framework/inspector/server/server.cc
|
| diff --git a/sky/framework/inspector/server/server.cc b/sky/framework/inspector/server/server.cc
|
| deleted file mode 100644
|
| index 9f078d94058bdc725d89601278e5933c62b2d524..0000000000000000000000000000000000000000
|
| --- a/sky/framework/inspector/server/server.cc
|
| +++ /dev/null
|
| @@ -1,42 +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/application/application_runner_chromium.h"
|
| -#include "mojo/public/c/system/main.h"
|
| -#include "mojo/public/cpp/application/application_delegate.h"
|
| -#include "mojo/public/cpp/application/application_impl.h"
|
| -#include "sky/framework/inspector/server/inspector_frontend_impl.h"
|
| -
|
| -namespace sky {
|
| -namespace inspector {
|
| -
|
| -class Server : public mojo::ApplicationDelegate {
|
| - public:
|
| - Server() {}
|
| - virtual ~Server() {}
|
| -
|
| - private:
|
| - // Overridden from mojo::ApplicationDelegate:
|
| - virtual void Initialize(mojo::ApplicationImpl* app) override {
|
| - }
|
| -
|
| - virtual bool ConfigureIncomingConnection(
|
| - mojo::ApplicationConnection* connection) override {
|
| - connection->AddService(&fronend_factory_);
|
| - return true;
|
| - }
|
| -
|
| - InspectorFronendFactory fronend_factory_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(Server);
|
| -};
|
| -
|
| -} // namespace inspector
|
| -} // namespace sky
|
| -
|
| -MojoResult MojoMain(MojoHandle shell_handle) {
|
| - mojo::ApplicationRunnerChromium runner(new sky::inspector::Server);
|
| - runner.set_message_loop_type(base::MessageLoop::TYPE_IO);
|
| - return runner.Run(shell_handle);
|
| -}
|
|
|