Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerInspectorController.h

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: fix crash Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698