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

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

Issue 2554573012: Fix early prerender cancellation not working with PlzNavigate. (Closed)
Patch Set: Created 4 years 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 | chrome/browser/prerender/prerender_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index f5e26626328383cd022b6ba650c9fabbc13453cd..e8acddd8e5e45217aa5b1155e93c1ce8639157f7 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -235,6 +235,10 @@ class PrerenderContents : public content::NotificationObserver,
// Increments the number of bytes fetched over the network for this prerender.
void AddNetworkBytes(int64_t bytes);
+ bool prerendering_has_been_cancelled() const {
+ return prerendering_has_been_cancelled_;
+ }
+
protected:
PrerenderContents(PrerenderManager* prerender_manager,
Profile* profile,
@@ -263,10 +267,6 @@ class PrerenderContents : public content::NotificationObserver,
return notification_registrar_;
}
- bool prerendering_has_been_cancelled() const {
- return prerendering_has_been_cancelled_;
- }
-
content::WebContents* CreateWebContents(
content::SessionStorageNamespace* session_storage_namespace);
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698