| 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 e5d309482d2ac59ac3829931a0a714a1d61dd375..cbc3bc2cfca5f627d3adc73e83f85ae45346d57a 100644
|
| --- a/content/browser/devtools/devtools_agent_host_impl.h
|
| +++ b/content/browser/devtools/devtools_agent_host_impl.h
|
| @@ -64,9 +64,12 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost,
|
| DevToolsAgentHostImpl(const std::string& id);
|
| ~DevToolsAgentHostImpl() override;
|
|
|
| + static bool ShouldForceCreation();
|
| +
|
| virtual bool DispatchProtocolMessage(const std::string& message) = 0;
|
| virtual void InspectElement(int x, int y);
|
|
|
| + void NotifyCreated();
|
| void HostClosed();
|
| void SendMessageToClient(int session_id, const std::string& message);
|
| devtools::DevToolsIOContext* GetIOContext() { return &io_context_; }
|
| @@ -79,12 +82,14 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost,
|
| void InnerDetach();
|
| void NotifyAttached();
|
| void NotifyDetached();
|
| + void NotifyDestroyed();
|
|
|
| const std::string id_;
|
| int session_id_;
|
| DevToolsAgentHostClient* client_;
|
| devtools::DevToolsIOContext io_context_;
|
| static int s_attached_count_;
|
| + static int s_force_creation_count_;
|
| };
|
|
|
| class DevToolsMessageChunkProcessor {
|
|
|