Index: chrome/browser/prerender/prerender_manager.h |
=================================================================== |
--- chrome/browser/prerender/prerender_manager.h (revision 109294) |
+++ chrome/browser/prerender/prerender_manager.h (working copy) |
@@ -128,7 +128,8 @@ |
// Moves a PrerenderContents to the pending delete list from the list of |
// active prerenders when prerendering should be cancelled. |
- void MoveEntryToPendingDelete(PrerenderContents* entry); |
+ void MoveEntryToPendingDelete(PrerenderContents* entry, |
+ FinalStatus final_status); |
// Records the perceived page load time for a page - effectively the time from |
// when the user navigates to a page to when it finishes loading. The actual |
@@ -152,6 +153,7 @@ |
static PrerenderManagerMode GetMode(); |
static void SetMode(PrerenderManagerMode mode); |
static bool IsPrerenderingPossible(); |
+ static bool ActuallyPrerendering(); |
static bool IsControlGroup(); |
// Query the list of current prerender pages to see if the given tab contents |
@@ -329,6 +331,11 @@ |
// observed. |
bool WithinWindow() const; |
+ // Indicates whether a Prerender has been cancelled such that we need |
+ // a dummy replacement for the purpose of recording the correct PPLT for |
+ // the Match Complete case. |
+ bool NeedMatchCompleteDummyForFinalStatus(FinalStatus final_status) const; |
+ |
bool DoesRateLimitAllowPrerender() const; |
// Deletes old TabContents that have been replaced by prerendered ones. This |