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

Unified Diff: content/browser/devtools/ipc_devtools_agent_host.h

Issue 1155703003: [DevTools] Inline IPCDevToolsAgentHost into subclasses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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
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
deleted file mode 100644
index 1f910784d829b3b6e52ee4e2a983493cd30f31ad..0000000000000000000000000000000000000000
--- a/content/browser/devtools/ipc_devtools_agent_host.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// 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_DEVTOOLS_IPC_DEVTOOLS_AGENT_HOST_H_
-#define CONTENT_BROWSER_DEVTOOLS_IPC_DEVTOOLS_AGENT_HOST_H_
-
-#include "content/browser/devtools/devtools_agent_host_impl.h"
-#include "content/common/devtools_messages.h"
-
-namespace IPC {
-class Message;
-}
-
-namespace content {
-
-class CONTENT_EXPORT IPCDevToolsAgentHost : public DevToolsAgentHostImpl {
- public:
- // DevToolsAgentHostImpl implementation.
- void Attach() override;
- void Detach() override;
- bool DispatchProtocolMessage(const std::string& message) override;
- void InspectElement(int x, int y) override;
-
- protected:
- IPCDevToolsAgentHost();
- ~IPCDevToolsAgentHost() override;
-
- void Reattach();
- void ProcessChunkedMessageFromAgent(const DevToolsMessageChunk& chunk);
-
- virtual void SendMessageToAgent(IPC::Message* msg) = 0;
- virtual void OnClientAttached(bool reattached) = 0;
- virtual void OnClientDetached() = 0;
-
- private:
- std::string message_buffer_;
- uint32 message_buffer_size_;
- std::string state_cookie_;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_DEVTOOLS_IPC_DEVTOOLS_AGENT_HOST_H_
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | content/browser/devtools/ipc_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698