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 f70ebc5fc97dec4bf1cae5315a585aff3634d002..bea3d78c998961d0c35c675ee34c34bcdc1f5249 100644 |
--- a/content/browser/devtools/devtools_agent_host_impl.h |
+++ b/content/browser/devtools/devtools_agent_host_impl.h |
@@ -38,8 +38,9 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost, |
bool Inspect(BrowserContext* browser_context); |
// DevToolsAgentHost implementation. |
- void AttachClient(DevToolsAgentHostClient* client) override; |
- void DetachClient() override; |
+ bool AttachClient(DevToolsAgentHostClient* client) override; |
+ bool ForceAttachClient(DevToolsAgentHostClient* client) override; |
+ bool DetachClient(DevToolsAgentHostClient* client) override; |
bool IsAttached() override; |
void InspectElement(int x, int y) override; |
std::string GetId() override; |
@@ -67,6 +68,7 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost, |
private: |
friend class DevToolsAgentHost; // for static methods |
+ bool InnerAttach(DevToolsAgentHostClient* client, bool force); |
void InnerDetach(); |
const std::string id_; |