Index: third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
diff --git a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
index 9e0418531e0708e8e156ea1fbb4f3704011b09fc..9751d269990399e5706f90a2266b148ba4aeb655 100644 |
--- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
+++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.h |
@@ -52,7 +52,8 @@ class WorkerInspectorController final |
WTF_MAKE_NONCOPYABLE(WorkerInspectorController); |
public: |
- static WorkerInspectorController* create(WorkerThread*); |
+ static WorkerInspectorController* create(WorkerThread*, |
+ bool networkCapability); |
~WorkerInspectorController() override; |
DECLARE_TRACE(); |
@@ -67,7 +68,9 @@ class WorkerInspectorController final |
void flushProtocolNotifications(); |
private: |
- WorkerInspectorController(WorkerThread*, WorkerThreadDebugger*); |
+ WorkerInspectorController(WorkerThread*, |
+ WorkerThreadDebugger*, |
+ bool networkCapability); |
// InspectorSession::Client implementation. |
void sendProtocolMessage(int sessionId, |
@@ -82,6 +85,7 @@ class WorkerInspectorController final |
WorkerThreadDebugger* m_debugger; |
WorkerThread* m_thread; |
Member<InstrumentingAgents> m_instrumentingAgents; |
+ const bool m_networkCapability; |
Member<InspectorSession> m_session; |
}; |