| 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 aa54dfd6250bd97d7946424d9825265138d7d773..466128f43dfd61a58987d9958c404eec4dcb6b87 100644
|
| --- a/content/browser/devtools/devtools_agent_host_impl.h
|
| +++ b/content/browser/devtools/devtools_agent_host_impl.h
|
| @@ -49,6 +49,11 @@ class CONTENT_EXPORT DevToolsAgentHostImpl : public DevToolsAgentHost {
|
| bool Inspect();
|
| void SendMessageToClient(int session_id, const std::string& message);
|
|
|
| + template <typename HandlerT>
|
| + HandlerT* GetHandler() const {
|
| + return HandlerT::FromSession(session_.get());
|
| + }
|
| +
|
| protected:
|
| DevToolsAgentHostImpl(const std::string& id);
|
| ~DevToolsAgentHostImpl() override;
|
|
|