Index: content/public/renderer/resource_fetcher.h |
diff --git a/content/public/renderer/resource_fetcher.h b/content/public/renderer/resource_fetcher.h |
index d0e9062d342c6aaf8d12618ff9764d36f4848e56..2c402aab395952b3d16a442f388ca3bc6c4486f9 100644 |
--- a/content/public/renderer/resource_fetcher.h |
+++ b/content/public/renderer/resource_fetcher.h |
@@ -48,12 +48,14 @@ class CONTENT_EXPORT ResourceFetcher { |
static ResourceFetcher* Create(const GURL& url); |
// Set the corresponding parameters of the request. Must be called before |
- // Start. By default, requests are GETs with no body. |
+ // Start. By default, requests are GETs with no body and respect the default |
+ // cache policy. |
virtual void SetMethod(const std::string& method) = 0; |
virtual void SetBody(const std::string& body) = 0; |
virtual void SetHeader(const std::string& header, |
const std::string& value) = 0; |
virtual void SetSkipServiceWorker(bool skip_service_worker) = 0; |
+ virtual void SetCachePolicy(blink::WebURLRequest::CachePolicy policy) = 0; |
// Associate the corresponding WebURLLoaderOptions to the loader. Must be |
// called before Start. Used if the LoaderType is FRAME_ASSOCIATED_LOADER. |