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

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

Issue 2508473002: [DevTools] Properly handle cache-only requests when cache is disabled (Closed)
Patch Set: Fix Created 4 years, 1 month 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/WebCachePolicy.h
diff --git a/third_party/WebKit/public/platform/WebCachePolicy.h b/third_party/WebKit/public/platform/WebCachePolicy.h
index ec086b35a406137d9fb866ed9b19f47b19fb050e..28960b6df51bf92a4f01e2a879ed654a159c55c7 100644
--- a/third_party/WebKit/public/platform/WebCachePolicy.h
+++ b/third_party/WebKit/public/platform/WebCachePolicy.h
@@ -16,6 +16,8 @@ enum class WebCachePolicy {
ReturnCacheDataDontLoad, // results of a post - allow stale data and only use
// cache
ReturnCacheDataIfValid, // for cache-aware loading - disallow stale data
+ BypassCacheLoadOnlyFromCache, // for cache-only load when disable cache
+ // is enabled. Results in a network error.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698