| Index: third_party/WebKit/Source/core/fetch/FetchContext.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.h b/third_party/WebKit/Source/core/fetch/FetchContext.h
|
| index 1fd7c66797641cae880c29c22ad19b91c725cbfa..e3d7f7e81041747f9bde53d3c6a62e8ab64abb9b 100644
|
| --- a/third_party/WebKit/Source/core/fetch/FetchContext.h
|
| +++ b/third_party/WebKit/Source/core/fetch/FetchContext.h
|
| @@ -72,8 +72,11 @@ class CORE_EXPORT FetchContext
|
|
|
| virtual void addAdditionalRequestHeaders(ResourceRequest&, FetchResourceType);
|
| virtual CachePolicy getCachePolicy() const;
|
| + // Returns the cache policy for the resource. ResourceRequest is not passed as
|
| + // a const reference as a header needs to be added for doc.write blocking
|
| + // intervention.
|
| virtual WebCachePolicy resourceRequestCachePolicy(
|
| - const ResourceRequest&,
|
| + ResourceRequest&,
|
| Resource::Type,
|
| FetchRequest::DeferOption) const;
|
|
|
|
|