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

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: reuse existing instrumentation for network 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..34b3dae55cb078b756cc99f5d9c57e95592da3c4 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -82,20 +82,20 @@ class CORE_EXPORT InspectorNetworkAgent final
ResourceRequestBlockedReason);
void didChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority);
- void willSendRequest(LocalFrame*,
- unsigned long identifier,
+ void willSendRequest(unsigned long identifier,
DocumentLoader*,
ResourceRequest&,
const ResourceResponse& redirectResponse,
- const FetchInitiatorInfo&);
+ const FetchInitiatorInfo&,
+ double timestamp,
+ double wallTime);
void markResourceAsCached(unsigned long identifier);
- void didReceiveResourceResponse(LocalFrame*,
+ void didReceiveResourceResponse(ExecutionContext*,
unsigned long identifier,
DocumentLoader*,
const ResourceResponse&,
Resource*);
- void didReceiveData(LocalFrame*,
- unsigned long identifier,
+ void didReceiveData(unsigned long identifier,
const char* data,
int dataLength);
void didReceiveEncodedDataLength(LocalFrame*,
@@ -233,12 +233,13 @@ class CORE_EXPORT InspectorNetworkAgent final
explicit InspectorNetworkAgent(InspectedFrames*);
void enable(int totalBufferSize, int resourceBufferSize);
- void willSendRequestInternal(LocalFrame*,
- unsigned long identifier,
+ void willSendRequestInternal(unsigned long identifier,
DocumentLoader*,
const ResourceRequest&,
const ResourceResponse& redirectResponse,
- const FetchInitiatorInfo&);
+ const FetchInitiatorInfo&,
+ double timestamp,
+ double wallTime);
void delayedRemoveReplayXHR(XMLHttpRequest*);
void removeFinishedReplayXHRFired(TimerBase*);
void didFinishXHRInternal(ExecutionContext*,

Powered by Google App Engine
This is Rietveld 408576698