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

Unified Diff: content/public/renderer/resource_fetcher.h

Issue 1858533002: Introduce WebCachePolicy to merge cache policy enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hiroshige review Created 4 years, 8 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: content/public/renderer/resource_fetcher.h
diff --git a/content/public/renderer/resource_fetcher.h b/content/public/renderer/resource_fetcher.h
index 2c402aab395952b3d16a442f388ca3bc6c4486f9..64fece51f0464e3dadb6f09da787c26b11089d83 100644
--- a/content/public/renderer/resource_fetcher.h
+++ b/content/public/renderer/resource_fetcher.h
@@ -20,6 +20,7 @@ class TimeDelta;
namespace blink {
class WebFrame;
class WebURLResponse;
+enum class WebCachePolicy;
struct WebURLLoaderOptions;
}
@@ -55,7 +56,7 @@ class CONTENT_EXPORT ResourceFetcher {
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;
+ virtual void SetCachePolicy(blink::WebCachePolicy policy) = 0;
// Associate the corresponding WebURLLoaderOptions to the loader. Must be
// called before Start. Used if the LoaderType is FRAME_ASSOCIATED_LOADER.
« no previous file with comments | « content/child/web_url_request_util.cc ('k') | content/renderer/fetchers/multi_resolution_image_resource_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698