Index: third_party/WebKit/Source/core/fetch/ResourceFetcher.h |
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h |
index 7b61b9700a3fddc4cdac798b7a195a025e23f8ac..ff32c5c83a49f41e09eeccca4fad8ee8fe67fd6d 100644 |
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h |
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h |
@@ -114,16 +114,10 @@ public: |
}; |
void didFinishLoading(Resource*, double finishTime, int64_t encodedDataLength, DidFinishLoadingReason); |
void didFailLoading(Resource*, const ResourceError&); |
- void didReceiveResponse(Resource*, const ResourceResponse&); |
+ void didReceiveResponse(Resource*, const ResourceResponse&, WebDataConsumerHandle*); |
void didReceiveData(const Resource*, const char* data, int dataLength, int encodedDataLength); |
void didDownloadData(const Resource*, int dataLength, int encodedDataLength); |
bool defersLoading() const; |
- |
- enum AccessControlLoggingDecision { |
- ShouldLogAccessControlErrors, |
- ShouldNotLogAccessControlErrors |
- }; |
- bool canAccessResource(Resource*, SecurityOrigin*, const KURL&, AccessControlLoggingDecision) const; |
bool isControlledByServiceWorker() const; |
void acceptDataFromThreadedReceiver(unsigned long identifier, const char* data, int dataLength, int encodedDataLength); |
@@ -170,6 +164,7 @@ private: |
void initializeResourceRequest(ResourceRequest&, Resource::Type, FetchRequest::DeferOption); |
void willSendRequest(unsigned long identifier, ResourceRequest&, const ResourceResponse&, const ResourceLoaderOptions&); |
+ bool canAccessResponse(Resource*, const ResourceResponse&) const; |
bool resourceNeedsLoad(Resource*, const FetchRequest&, RevalidationPolicy); |
bool shouldDeferImageLoad(const KURL&) const; |