Index: content/browser/devtools/ipc_devtools_agent_host.h |
diff --git a/content/browser/devtools/ipc_devtools_agent_host.h b/content/browser/devtools/ipc_devtools_agent_host.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d60cc83ed6d6c166a05a48efd197993df1fb4758 |
--- /dev/null |
+++ b/content/browser/devtools/ipc_devtools_agent_host.h |
@@ -0,0 +1,34 @@ |
+// Copyright (c) 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. |
+ |
+#ifndef CONTENT_BROWSER_IPC_DEVTOOLS_DEVTOOLS_AGENT_HOST_H_ |
+#define CONTENT_BROWSER_IPC_DEVTOOLS_DEVTOOLS_AGENT_HOST_H_ |
+ |
+#include "content/browser/devtools/devtools_agent_host_impl.h" |
+ |
+namespace IPC { |
+class Message; |
+} |
+ |
+namespace content { |
+ |
+class CONTENT_EXPORT IPCDevToolsAgentHost : public DevToolsAgentHostImpl { |
+ public: |
+ // DevToolsAgentHostImpl implementation. |
+ virtual void Attach() OVERRIDE; |
+ virtual void Detach() OVERRIDE; |
+ virtual void DispatchOnInspectorBackend(const std::string& message) OVERRIDE; |
+ virtual void InspectElement(int x, int y) OVERRIDE; |
+ |
+ protected: |
+ void Reattach(const std::string& saved_agent_state); |
+ |
+ virtual void SendMessageToAgent(IPC::Message* msg) = 0; |
+ virtual void NotifyClientAttaching() = 0; |
+ virtual void NotifyClientDetaching() = 0; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_IPC_DEVTOOLS_DEVTOOLS_AGENT_HOST_H_ |