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

Unified Diff: content/public/browser/devtools_agent_host.h

Issue 2874613003: [DevTools] Support multiple clients in DevToolsAgentHost (Closed)
Patch Set: 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/worker_devtools_agent_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_agent_host.h
diff --git a/content/public/browser/devtools_agent_host.h b/content/public/browser/devtools_agent_host.h
index 43b7dea33ce3cea69bd3127bb5efdaa454528b0a..11147f08258a2eb3192803a9efdf948c1ea967c0 100644
--- a/content/public/browser/devtools_agent_host.h
+++ b/content/public/browser/devtools_agent_host.h
@@ -144,6 +144,11 @@ class CONTENT_EXPORT DevToolsAgentHost
// any existing clients.
virtual void ForceAttachClient(DevToolsAgentHostClient* client) = 0;
+ // Attaches |client| to this agent host to start debugging. This method
+ // can attach more than one client (as opposite to AttachClient).
+ // Returns true iff attach succeeded.
+ virtual bool AttachMultiClient(DevToolsAgentHostClient* client) = 0;
+
// Already attached client detaches from this agent host to stop debugging it.
// Returns true iff detach succeeded.
virtual bool DetachClient(DevToolsAgentHostClient* client) = 0;
« no previous file with comments | « content/browser/devtools/worker_devtools_agent_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698