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

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: 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/InspectorNetworkAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
index c38e1928723bee37cec71e158137343247549afa..1fc711cf1b987d114699a1dd02104aa2893de74c 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -81,20 +81,18 @@ 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&);
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*,
@@ -232,8 +230,7 @@ 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,
@@ -279,7 +276,8 @@ class CORE_EXPORT InspectorNetworkAgent final
HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted;
- TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer;
+ std::unique_ptr<TaskRunnerTimer<InspectorNetworkAgent>>
+ m_removeFinishedReplayXHRTimer;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698