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

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

Issue 141163002: Make PrerenderTracker's resource_throttle_io_thread_map_ use RenderFrame IDs instead of RenderView … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 6 years, 11 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_tracker.h
===================================================================
--- chrome/browser/prerender/prerender_tracker.h (revision 245386)
+++ chrome/browser/prerender/prerender_tracker.h (working copy)
@@ -35,11 +35,6 @@
PrerenderTracker();
virtual ~PrerenderTracker();
- // Returns whether or not a RenderView is prerendering. Can only be called on
- // the IO thread. Does not acquire a lock, so may claim a RenderView that has
- // been displayed or destroyed is still prerendering.
- bool IsPrerenderingOnIOThread(int child_id, int route_id) const;
-
// Returns whether or not a RenderFrame and URL are regarding a pending
// prerender swap. Can only be called on the IO thread. Does not acquire a
// lock.
@@ -73,6 +68,7 @@
private:
friend class PrerenderContents;
+ friend class PrerenderTrackerTest;
// Map of child/route id pairs to final statuses.
typedef std::map<ChildRouteIdPair, RenderViewInfo> FinalStatusMap;

Powered by Google App Engine
This is Rietveld 408576698