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

Unified Diff: content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc

Issue 934693002: Reload favicon from HTTP cache on Ctrl+Refresh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/fetchers/multi_resolution_image_resource_fetcher.cc
diff --git a/content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc b/content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc
index 3deb00bfdcd8f1eb0b8c7ae3fced26178be473ee..fa88aa9e7115fbf8757c1628612746faa9cc82aa 100644
--- a/content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc
+++ b/content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc
@@ -26,6 +26,7 @@ MultiResolutionImageResourceFetcher::MultiResolutionImageResourceFetcher(
WebFrame* frame,
int id,
WebURLRequest::RequestContext request_context,
+ blink::WebURLRequest::CachePolicy cache_policy,
const Callback& callback)
: callback_(callback),
id_(id),
@@ -45,6 +46,8 @@ MultiResolutionImageResourceFetcher::MultiResolutionImageResourceFetcher(
if (request_context == WebURLRequest::RequestContextFavicon)
fetcher_->SetSkipServiceWorker(true);
+ fetcher_->SetCachePolicy(cache_policy);
+
fetcher_->Start(
frame,
request_context,
« no previous file with comments | « content/renderer/fetchers/multi_resolution_image_resource_fetcher.h ('k') | content/renderer/fetchers/resource_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698