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

Unified Diff: third_party/WebKit/public/platform/WebURLRequest.h

Issue 2811623002: Fetch API: Add Request#cache attribute (Closed)
Patch Set: address comments Created 3 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: third_party/WebKit/public/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index 7fb5caaa559d0bef83972c9e09b96fbd054dddf3..e559ac779144204aed25eb434ca25acc0919da4f 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -121,6 +121,15 @@ class WebURLRequest {
kFetchCredentialsModePassword
};
+ enum FetchRequestCacheMode {
+ kFetchRequestCacheModeDefault,
+ kFetchRequestCacheModeNoStore,
+ kFetchRequestCacheModeReload,
+ kFetchRequestCacheModeNoCache,
+ kFetchRequestCacheModeForceCache,
+ kFetchRequestCacheModeOnlyIfCached
+ };
+
enum FetchRedirectMode {
kFetchRedirectModeFollow,
kFetchRedirectModeError,

Powered by Google App Engine
This is Rietveld 408576698