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

Unified Diff: content/renderer/render_frame_impl.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/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 80613981ba14dd462bba29538f7a28b4f0fa65ba..82823fc442ace29b944ea02bcb61fd9d79f74bcb 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -2919,8 +2919,8 @@ void RenderFrameImpl::didCreateDataSource(blink::WebLocalFrame* frame,
case WebURLRequest::UseProtocolCachePolicy: // normal load.
document_state->set_load_type(DocumentState::LINK_LOAD_NORMAL);
break;
- case WebURLRequest::ReloadIgnoringCacheData: // reload.
- case WebURLRequest::ReloadBypassingCache: // end-to-end reload.
+ case WebURLRequest::ValidatingCacheData: // reload.
+ case WebURLRequest::BypassingCache: // end-to-end reload.
document_state->set_load_type(DocumentState::LINK_LOAD_RELOAD);
break;
case WebURLRequest::ReturnCacheDataElseLoad: // allow stale data.
@@ -5236,7 +5236,7 @@ void RenderFrameImpl::NavigateInternal(
// We cannot reload if we do not have any history state. This happens, for
// example, when recovering from a crash.
is_reload = false;
- cache_policy = WebURLRequest::ReloadIgnoringCacheData;
+ cache_policy = WebURLRequest::ValidatingCacheData;
}
// If the navigation is for "view source", the WebLocalFrame needs to be put
« no previous file with comments | « content/renderer/image_downloader/image_downloader_impl.cc ('k') | third_party/WebKit/Source/core/fetch/CachePolicy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698