Index: third_party/WebKit/Source/platform/loader/fetch/FetchContext.h |
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h |
index 169f9630c7c02aa561e05f236d35a63cf9c71974..3dda0eb0dbe7b5b0ef963b5c807e3423d30d761b 100644 |
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h |
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h |
@@ -103,17 +103,16 @@ class PLATFORM_EXPORT FetchContext |
ResourceRequest&, |
const ResourceResponse& redirectResponse, |
const FetchInitiatorInfo& = FetchInitiatorInfo()); |
- |
- virtual void dispatchDidLoadResourceFromMemoryCache( |
- unsigned long identifier, |
- Resource*, |
- WebURLRequest::FrameType, |
- WebURLRequest::RequestContext); |
+ virtual void dispatchDidLoadResourceFromMemoryCache(unsigned long identifier, |
+ const ResourceRequest&, |
+ const ResourceResponse&); |
+ enum class ResourceResponseType { kNotFromMemoryCache, kFromMemoryCache }; |
virtual void dispatchDidReceiveResponse(unsigned long identifier, |
const ResourceResponse&, |
WebURLRequest::FrameType, |
WebURLRequest::RequestContext, |
- Resource*); |
+ Resource*, |
+ ResourceResponseType); |
virtual void dispatchDidReceiveData(unsigned long identifier, |
const char* data, |
int dataLength); |