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

Unified Diff: content/child/web_url_request_util.cc

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: content/child/web_url_request_util.cc
diff --git a/content/child/web_url_request_util.cc b/content/child/web_url_request_util.cc
index fde5e796e5eee4b97ebe1c4a71795fc508ab0d04..a940ac5f5f76fd1275b14e2c7635c98342aa049f 100644
--- a/content/child/web_url_request_util.cc
+++ b/content/child/web_url_request_util.cc
@@ -198,11 +198,10 @@ int GetLoadFlagsForWebURLRequest(const blink::WebURLRequest& request) {
int load_flags = net::LOAD_NORMAL;
GURL url = request.url();
switch (request.getCachePolicy()) {
- case WebURLRequest::ReloadIgnoringCacheData:
- // Required by LayoutTests/http/tests/misc/refresh-headers.php
+ case WebURLRequest::ValidatingCacheData:
load_flags |= net::LOAD_VALIDATE_CACHE;
break;
- case WebURLRequest::ReloadBypassingCache:
+ case WebURLRequest::BypassingCache:
load_flags |= net::LOAD_BYPASS_CACHE;
break;
case WebURLRequest::ReturnCacheDataElseLoad:
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/renderer/image_downloader/image_downloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698