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

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

Issue 2864103002: [DevTools] Support multiple DevToolsMessageChunkProcessor instances (Closed)
Patch Set: fix Created 3 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
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | content/browser/devtools/devtools_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_session.h
diff --git a/content/browser/devtools/devtools_session.h b/content/browser/devtools/devtools_session.h
index 24909914ef6d85da6de94b6494cfd3af3dc23198..42b45c7e495b9c9b5ba5b8784fcefff2d4b78a3f 100644
--- a/content/browser/devtools/devtools_session.h
+++ b/content/browser/devtools/devtools_session.h
@@ -28,6 +28,7 @@ class DevToolsSession : public protocol::FrontendChannel {
void AddHandler(std::unique_ptr<protocol::DevToolsDomainHandler> handler);
void SetRenderFrameHost(RenderFrameHostImpl* host);
void SetFallThroughForNotFound(bool value);
+ bool ProcessChunkedMessageFromAgent(const DevToolsMessageChunk& chunk);
protocol::Response::Status Dispatch(
const std::string& message,
@@ -36,6 +37,7 @@ class DevToolsSession : public protocol::FrontendChannel {
// Only used by DevToolsAgentHostImpl.
DevToolsAgentHostClient* client() const { return client_; }
+ void SendMessageToClient(const std::string& message);
template <typename Handler>
static std::vector<Handler*> HandlersForAgentHost(
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | content/browser/devtools/devtools_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698