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

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

Issue 2811623002: Fetch API: Add Request#cache attribute (Closed)
Patch Set: 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..789cdf2fb48b3ad957c59f6cb777e1641dd0e486 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 FetchRequestCache {
falken 2017/04/11 05:53:59 I'm feeling FetchRequestCacheMode is clearer. Ther
yhirano 2017/04/11 06:26:51 +1
yiyix 2017/04/11 10:00:06 Done.
+ kFetchRequestCacheDefault,
+ kFetchRequestCacheNoStore,
+ kFetchRequestCacheReload,
+ kFetchRequestCacheNoCache,
+ kFetchRequestCacheForceCache,
+ kFetchRequestCacheOnlyIfCached
+ };
+
enum FetchRedirectMode {
kFetchRedirectModeFollow,
kFetchRedirectModeError,

Powered by Google App Engine
This is Rietveld 408576698