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; |