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 5afc0df7e153beaf2d048ba62dab442e9dcf51cf..55dc0944b5542d14d675ee3df7b0ec2136f52dce 100644 |
--- a/content/browser/devtools/devtools_agent_host_impl.h |
+++ b/content/browser/devtools/devtools_agent_host_impl.h |
@@ -22,6 +22,9 @@ class BrowserContext; |
// Describes interface for managing devtools agents from the browser process. |
class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost { |
public: |
+ // Returns a list of all existing WebContents that can be debugged. |
+ static std::vector<WebContents*> GetInspectableWebContents(); |
+ |
// Informs the hosted agent that a client host has attached. |
virtual void Attach() = 0; |
@@ -44,6 +47,7 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost { |
virtual void DisconnectWebContents() OVERRIDE; |
virtual void ConnectWebContents(WebContents* wc) OVERRIDE; |
virtual bool IsWorker() const OVERRIDE; |
+ virtual GURL GetURL() OVERRIDE; |
protected: |
DevToolsAgentHostImpl(); |