| Index: chrome/browser/prerender/prerender_manager.h
|
| diff --git a/chrome/browser/prerender/prerender_manager.h b/chrome/browser/prerender/prerender_manager.h
|
| index 356b33a9c7fea0b8184dff362f062a1f3edb53a5..2d23969098f87c7f1acd4a2c2499c1bda746c675 100644
|
| --- a/chrome/browser/prerender/prerender_manager.h
|
| +++ b/chrome/browser/prerender/prerender_manager.h
|
| @@ -44,6 +44,11 @@ void HandlePrefetchTagOnUIThread(
|
| const GURL& referrer,
|
| bool make_pending);
|
|
|
| +void DestroyPreloadForChildRouteIdPairOnUIThread(
|
| + const base::WeakPtr<PrerenderManager>& prerender_manager_weak_ptr,
|
| + const std::pair<int, int>& child_route_id_pair,
|
| + FinalStatus final_status);
|
| +
|
| // PrerenderManager is responsible for initiating and keeping prerendered
|
| // views of webpages. All methods must be called on the UI thread unless
|
| // indicated otherwise.
|
| @@ -78,6 +83,12 @@ class PrerenderManager : public base::SupportsWeakPtr<PrerenderManager>,
|
| const GURL& url,
|
| const GURL& referrer);
|
|
|
| + // Destroy all preloads for the given child route id pair and assign a final
|
| + // status to them.
|
| + void DestroyPreloadForChildRouteIdPair(
|
| + const std::pair<int, int>& child_route_id_pair,
|
| + FinalStatus final_status);
|
| +
|
| // For a given TabContents that wants to navigate to the URL supplied,
|
| // determines whether a preloaded version of the URL can be used,
|
| // and substitutes the prerendered RVH into the TabContents. Returns
|
|
|