Chromium Code Reviews| Index: content/browser/devtools/browser_devtools_agent_host.cc |
| diff --git a/content/browser/devtools/browser_devtools_agent_host.cc b/content/browser/devtools/browser_devtools_agent_host.cc |
| index 0d04330f8604b68031c7b6c36ac89be0d2e05e4e..53115b6901d91f93585732f5d18dd5043237611e 100644 |
| --- a/content/browser/devtools/browser_devtools_agent_host.cc |
| +++ b/content/browser/devtools/browser_devtools_agent_host.cc |
| @@ -8,6 +8,7 @@ |
| #include "base/guid.h" |
| #include "base/memory/ptr_util.h" |
| #include "content/browser/devtools/devtools_session.h" |
| +#include "content/browser/devtools/protocol/browser_handler.h" |
| #include "content/browser/devtools/protocol/io_handler.h" |
| #include "content/browser/devtools/protocol/memory_handler.h" |
| #include "content/browser/devtools/protocol/protocol.h" |
| @@ -51,6 +52,7 @@ void BrowserDevToolsAgentHost::AttachSession(DevToolsSession* session) { |
| return; |
| } |
| + session->AddHandler(base::WrapUnique(new protocol::BrowserHandler())); |
|
dgozman
2017/03/22 21:28:34
IIRC, things should just work now without BrowserH
jzfeng
2017/03/23 06:58:25
Yeah, it works. I forget what lead me to add all t
|
| session->AddHandler(base::WrapUnique(new protocol::IOHandler( |
| GetIOContext()))); |
| session->AddHandler(base::WrapUnique(new protocol::MemoryHandler())); |