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

Unified Diff: sky/engine/core/inspector/inspector_backend_mojo.h

Issue 749523002: Move inspector_backend_mojo.cc to v8_inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/core.gni ('k') | sky/engine/core/inspector/inspector_backend_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/inspector/inspector_backend_mojo.h
diff --git a/sky/engine/core/inspector/inspector_backend_mojo.h b/sky/engine/core/inspector/inspector_backend_mojo.h
deleted file mode 100644
index ee0b7d8fb2d7519f68bf978fd334b0397f1e8b95..0000000000000000000000000000000000000000
--- a/sky/engine/core/inspector/inspector_backend_mojo.h
+++ /dev/null
@@ -1,56 +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.
-
-#ifndef SKY_ENGINE_INSPECTOR_INSPECTOR_BACKEND_MOJO_H_
-#define SKY_ENGINE_INSPECTOR_INSPECTOR_BACKEND_MOJO_H_
-
-#include "base/basictypes.h"
-#include "core/inspector/InspectorFrontendChannel.h"
-#include "sky/services/inspector/inspector.mojom.h"
-
-namespace blink {
-class FrameHost;
-class InspectorBackendDispatcher;
-class JSONObject;
-class PageDebuggerAgent;
-class InjectedScriptManager;
-class InspectorState;
-class InstrumentingAgents;
-class InspectorFrontend;
-
-class InspectorBackendMojo : public mojo::InterfaceImpl<sky::InspectorBackend>,
- public InspectorFrontendChannel {
-public:
- explicit InspectorBackendMojo(const FrameHost& frame_host);
- ~InspectorBackendMojo();
-
- void Connect();
-
-private:
- // InspectorBackend:
- void OnConnect() override;
- void OnDisconnect() override;
- void OnMessage(const mojo::String& message) override;
-
- // InspectorFrontendChannel:
- void sendMessageToFrontend(PassRefPtr<JSONObject> message) override;
- void flush() override;
-
- const FrameHost& frame_host_;
-
- sky::InspectorFrontendPtr frontend_;
-
- OwnPtr<InspectorFrontend> old_frontend_;
- RefPtr<InspectorBackendDispatcher> dispatcher_;
- OwnPtr<PageDebuggerAgent> debugger_agent_;
- OwnPtr<InjectedScriptManager> script_manager_;
- OwnPtr<InspectorState> inspector_state_;
- OwnPtr<InstrumentingAgents> agents_;
-
- DISALLOW_COPY_AND_ASSIGN(InspectorBackendMojo);
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_INSPECTOR_INSPECTOR_BACKEND_MOJO_H_
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/inspector/inspector_backend_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698