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

Unified Diff: third_party/WebKit/Source/core/loader/BaseFetchContext.h

Issue 2900613002: Support DevTools for off-main-thread-fetch (Closed)
Patch Set: incorporated kinuko's comment Created 3 years, 7 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/loader/BaseFetchContext.h
diff --git a/third_party/WebKit/Source/core/loader/BaseFetchContext.h b/third_party/WebKit/Source/core/loader/BaseFetchContext.h
index 925765f80464565c2fe7feb9d57f10274d82f43c..5c82677774a5a5242ad8c837dea5e0b1c5a5380f 100644
--- a/third_party/WebKit/Source/core/loader/BaseFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/BaseFetchContext.h
@@ -29,6 +29,8 @@ class CORE_EXPORT BaseFetchContext : public FetchContext {
void AddAdditionalRequestHeaders(ResourceRequest&,
FetchResourceType) override;
+ void DispatchDidReceiveEncodedData(unsigned long identifier,
+ int encoded_data_length) override;
ResourceRequestBlockedReason CanRequest(
Resource::Type,
const ResourceRequest&,
@@ -63,7 +65,6 @@ class CORE_EXPORT BaseFetchContext : public FetchContext {
// Note: subclasses are expected to override following methods.
// Used in the default implementation for CanRequest, CanFollowRedirect
// and AllowResponse.
- virtual bool ShouldBlockRequestByInspector(const ResourceRequest&) const = 0;
virtual void DispatchDidBlockRequest(const ResourceRequest&,
const FetchInitiatorInfo&,
ResourceRequestBlockedReason) const = 0;

Powered by Google App Engine
This is Rietveld 408576698