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 c99c76450da34ab099b350068490007e90820d2e..1f76bb50269badadc2dc054ae39583c98b4d7593 100644 |
--- a/content/browser/devtools/devtools_agent_host_impl.h |
+++ b/content/browser/devtools/devtools_agent_host_impl.h |
@@ -34,25 +34,23 @@ |
// Informs the hosted agent that a client host has detached. |
virtual void Detach() = 0; |
+ // Opens the inspector for this host. |
+ bool Inspect(BrowserContext* browser_context); |
+ |
// DevToolsAgentHost implementation. |
bool AttachClient(DevToolsAgentHostClient* client) override; |
void ForceAttachClient(DevToolsAgentHostClient* client) override; |
bool DetachClient(DevToolsAgentHostClient* client) override; |
bool DispatchProtocolMessage(DevToolsAgentHostClient* client, |
const std::string& message) override; |
+ |
bool IsAttached() override; |
void InspectElement(DevToolsAgentHostClient* client, int x, int y) override; |
std::string GetId() override; |
- std::string GetParentId() override; |
- std::string GetDescription() override; |
- void SetDescriptionOverride(const std::string& description) override; |
- GURL GetFaviconURL() override; |
- base::TimeTicks GetLastActivityTime() override; |
BrowserContext* GetBrowserContext() override; |
WebContents* GetWebContents() override; |
void DisconnectWebContents() override; |
void ConnectWebContents(WebContents* wc) override; |
- bool Inspect() override; |
// DevToolsProtocolDelegate implementation. |
void SendProtocolResponse(int session_id, |
@@ -60,7 +58,7 @@ |
void SendProtocolNotification(const std::string& message) override; |
protected: |
- DevToolsAgentHostImpl(const std::string& id); |
+ DevToolsAgentHostImpl(); |
~DevToolsAgentHostImpl() override; |
virtual bool DispatchProtocolMessage(const std::string& message) = 0; |
@@ -81,7 +79,6 @@ |
const std::string id_; |
int session_id_; |
- std::string description_; |
DevToolsAgentHostClient* client_; |
devtools::DevToolsIOContext io_context_; |
}; |