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

Unified Diff: chrome/browser/prerender/prerender_resource_throttle.h

Issue 2642733002: Prerender: Disable prefetch if there's an appcache. (Closed)
Patch Set: comments Created 3 years, 10 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: chrome/browser/prerender/prerender_resource_throttle.h
diff --git a/chrome/browser/prerender/prerender_resource_throttle.h b/chrome/browser/prerender/prerender_resource_throttle.h
index a9f853ec9ccb45379d74940b614b10688629d6d5..81ade81a8e39ddd9ee6ae6f7cb82e7b1d790623d 100644
--- a/chrome/browser/prerender/prerender_resource_throttle.h
+++ b/chrome/browser/prerender/prerender_resource_throttle.h
@@ -73,9 +73,13 @@ class PrerenderResourceThrottle
web_contents_getter);
static void WillProcessResponseOnUI(
+ const base::WeakPtr<PrerenderResourceThrottle>& throttle,
bool is_main_resource,
bool is_no_store,
int redirect_count,
+ bool has_appcache,
+ const content::ResourceRequestInfo::WebContentsGetter&
+ web_contents_getter,
scoped_refptr<PrerenderThrottleInfo> prerender_throttle_info);
// Helper to return the PrerenderContents given a WebContentsGetter. May

Powered by Google App Engine
This is Rietveld 408576698