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

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

Issue 2816403002: test all
Patch Set: fix sharedworker 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 33c7cff4bbfa62a3be7ae00d49379a25d3f34049..3e44dafd6467448d5f32815a678b9d9c9b99777d 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& redirect_response,
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 data_length);
- void DidReceiveEncodedDataLength(LocalFrame*,
- unsigned long identifier,
+ void DidReceiveEncodedDataLength(unsigned long identifier,
int encoded_data_length);
- void DidFinishLoading(LocalFrame*,
- unsigned long identifier,
+ void DidFinishLoading(unsigned long identifier,
+ DocumentLoader*,
double monotonic_finish_time,
int64_t encoded_data_length,
int64_t decoded_body_length);
@@ -233,8 +229,7 @@ class CORE_EXPORT InspectorNetworkAgent final
explicit InspectorNetworkAgent(InspectedFrames*);
void Enable(int total_buffer_size, int resource_buffer_size);
- void WillSendRequestInternal(LocalFrame*,
- unsigned long identifier,
+ void WillSendRequestInternal(unsigned long identifier,
DocumentLoader*,
const ResourceRequest&,
const ResourceResponse& redirect_response,
@@ -277,7 +272,8 @@ class CORE_EXPORT InspectorNetworkAgent final
HeapHashSet<Member<XMLHttpRequest>> replay_xhrs_;
HeapHashSet<Member<XMLHttpRequest>> replay_xhrs_to_be_deleted_;
- TaskRunnerTimer<InspectorNetworkAgent> remove_finished_replay_xhr_timer_;
+ std::unique_ptr<TaskRunnerTimer<InspectorNetworkAgent>>
+ remove_finished_replay_xhr_timer_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698