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 0055d2b4d85a3eebc5fa076f2168f92d2e8ed231..3d5ca625f928e452aab9b567d80ac06c40fc06f6 100644 |
--- a/content/public/browser/devtools_agent_host.h |
+++ b/content/public/browser/devtools_agent_host.h |
@@ -66,6 +66,9 @@ class CONTENT_EXPORT DevToolsAgentHost |
// Attaches render view host to this host. |
virtual void ConnectRenderViewHost(RenderViewHost* rvh) = 0; |
+ // Returns true if DevToolsAgentHost is for worker. |
+ virtual bool IsWorker() = 0; |
+ |
protected: |
friend class base::RefCounted<DevToolsAgentHost>; |
virtual ~DevToolsAgentHost() {} |