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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 308083009: Set the right load flag for ResourceRequests on end-to-end reloads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 085cd6d243018eeb63028ea48e656f264caaaf05..129f190f29557d62461ac6ac5dfcacac0bfe9fde 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -343,6 +343,9 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
// Required by LayoutTests/http/tests/misc/refresh-headers.php
load_flags |= net::LOAD_VALIDATE_CACHE;
break;
+ case WebURLRequest::ReloadBypassingCache:
+ load_flags |= net::LOAD_BYPASS_CACHE;
+ break;
case WebURLRequest::ReturnCacheDataElseLoad:
load_flags |= net::LOAD_PREFERRING_CACHE;
break;
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698