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

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

Issue 7038012: Safely cancel prerenders on threads other than the UI thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix linux Created 9 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
Index: chrome/browser/prerender/prerender_contents.h
===================================================================
--- chrome/browser/prerender/prerender_contents.h (revision 85771)
+++ chrome/browser/prerender/prerender_contents.h (working copy)
@@ -317,6 +317,8 @@
bool has_stopped_loading_;
+ // This must be the same value as the PrerenderTracker has recorded for
+ // |this|, when |this| has a RenderView.
FinalStatus final_status_;
bool prerendering_has_started_;
@@ -335,6 +337,10 @@
scoped_ptr<PrerenderRenderViewHostObserver> render_view_host_observer_;
+ // These are -1 before a RenderView is created.
+ int child_id_;
+ int route_id_;
+
DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
};
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_contents.cc » ('j') | chrome/browser/prerender/prerender_contents.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698