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

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

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: incorporated falken's comment 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/InspectorNetworkAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
index c55719d8fb54020d24ba80bc7118ff80f02b04e2..38241a681794b01054875abbd802f7349cd4970d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -193,6 +193,16 @@ class CORE_EXPORT InspectorNetworkAgent final
size_t payloadLength);
void didReceiveWebSocketFrameError(unsigned long identifier, const String&);
+ void didSendNavigationPreload(int identifier,
+ const KURL& requestURL,
+ double timestamp,
+ double wallTime);
+ void didReceiveNavigationPreloadResponse(int identifier,
+ const ResourceResponse&);
+ void didReceiveNavigationPreloadError(int identifier,
+ const String& errorMessage);
+ void didCompleteNavigationPreload(int identifier);
+
// Called from frontend
Response enable(Maybe<int> totalBufferSize,
Maybe<int> resourceBufferSize) override;

Powered by Google App Engine
This is Rietveld 408576698