Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
| diff --git a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
| index b5147ea35d389792c4ab7de79277e0d0ca7dacf4..7764c226f441af87f080b50e70fd2217bd8d4fe3 100644 |
| --- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
| +++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp |
| @@ -33,6 +33,7 @@ |
| #include "core/InstrumentingAgents.h" |
| #include "core/inspector/InspectorInstrumentation.h" |
| #include "core/inspector/InspectorLogAgent.h" |
| +#include "core/inspector/InspectorNetworkAgent.h" |
| #include "core/inspector/WorkerThreadDebugger.h" |
| #include "core/inspector/protocol/Protocol.h" |
| #include "core/workers/WorkerBackingThread.h" |
| @@ -71,6 +72,7 @@ void WorkerInspectorController::connectFrontend() { |
| m_debugger->contextGroupId(m_thread), nullptr); |
| m_session->append( |
| new InspectorLogAgent(m_thread->consoleMessageStorage(), nullptr)); |
| + m_session->append(InspectorNetworkAgent::create(nullptr)); |
|
pfeldman
2017/01/20 20:41:46
You just created one for all dedicated workers. No
horo
2017/01/23 08:05:32
I introduces inspectorNetworkCapability flag.
So I
|
| m_thread->workerBackingThread().backingThread().addTaskObserver(this); |
| } |