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

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

Issue 2698883004: DevTools: expose session to handlers. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | content/browser/devtools/protocol/devtools_domain_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_agent_host_impl.h
diff --git a/content/browser/devtools/devtools_agent_host_impl.h b/content/browser/devtools/devtools_agent_host_impl.h
index 8190ce6dc43197a49948705998c9105f03d4f3d3..aa54dfd6250bd97d7946424d9825265138d7d773 100644
--- a/content/browser/devtools/devtools_agent_host_impl.h
+++ b/content/browser/devtools/devtools_agent_host_impl.h
@@ -20,6 +20,10 @@ namespace content {
class BrowserContext;
class DevToolsSession;
+namespace protocol {
+class DevToolsDomainHandler;
+}
+
// Describes interface for managing devtools agents from the browser process.
class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost {
public:
@@ -67,6 +71,7 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost {
private:
friend class DevToolsAgentHost; // for static methods
+ friend class protocol::DevToolsDomainHandler;
bool InnerAttachClient(DevToolsAgentHostClient* client, bool force);
void InnerDetachClient();
void NotifyAttached();
« no previous file with comments | « no previous file | content/browser/devtools/protocol/devtools_domain_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698