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

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

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix Created 3 years, 8 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 a8672589d3e9f53ead730c61bbe834293472b05f..109c7695a76ccfd8d48ead83f05b936c88da764c 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -74,34 +74,30 @@ class CORE_EXPORT InspectorNetworkAgent final
DECLARE_VIRTUAL_TRACE();
// Probes.
- void didBlockRequest(LocalFrame*,
- const ResourceRequest&,
+ void didBlockRequest(const ResourceRequest&,
DocumentLoader*,
const FetchInitiatorInfo&,
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*,
- unsigned long identifier,
+ void didReceiveResourceResponse(unsigned long identifier,
DocumentLoader*,
const ResourceResponse&,
Resource*);
- void didReceiveData(LocalFrame*,
- unsigned long identifier,
+ void didReceiveData(unsigned long identifier,
+ DocumentLoader*,
const char* data,
int dataLength);
- void didReceiveEncodedDataLength(LocalFrame*,
- unsigned long identifier,
+ void didReceiveEncodedDataLength(unsigned long identifier,
int encodedDataLength);
- void didFinishLoading(LocalFrame*,
- unsigned long identifier,
+ void didFinishLoading(unsigned long identifier,
+ DocumentLoader*,
double monotonicFinishTime,
int64_t encodedDataLength,
int64_t decodedBodyLength);
@@ -234,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,
@@ -278,7 +273,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