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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequest.h

Issue 1846733004: Rename IgnoringCacheData to ValidatingCacheData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 9 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/Source/platform/network/ResourceRequest.h
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.h b/third_party/WebKit/Source/platform/network/ResourceRequest.h
index 979302234bfebd8807e4c5acceb5d294c5f969c0..f97b9ff6fb6598496a663af2d92f2be9f72ee06d 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.h
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h
@@ -42,12 +42,14 @@
namespace blink {
+// Should be same with WebURLRequest::CachePolicy.
+// TODO(crbug.com/599364): Merge this with WebURLRequest::CachePolicy
enum ResourceRequestCachePolicy {
UseProtocolCachePolicy, // normal load
- ReloadIgnoringCacheData, // reload
+ ValidatingCacheData, // reload
+ BypassingCache, // end-to-end reload
ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale data
ReturnCacheDataDontLoad, // results of a post - allow stale data and only use cache
- ReloadBypassingCache, // end-to-end reload
};
enum ResourceRequestBlockedReason {
« no previous file with comments | « third_party/WebKit/Source/core/loader/NavigationScheduler.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698