Index: chrome/browser/prerender/prerender_tab_helper.h |
diff --git a/chrome/browser/prerender/prerender_tab_helper.h b/chrome/browser/prerender/prerender_tab_helper.h |
index 361ee8f2d69c4399d519845af40e49f9ab45b2f1..32e43ff8db89b53e3ab8d34589e47bff777fda50 100644 |
--- a/chrome/browser/prerender/prerender_tab_helper.h |
+++ b/chrome/browser/prerender/prerender_tab_helper.h |
@@ -51,9 +51,9 @@ class PrerenderTabHelper |
virtual ~PrerenderTabHelper(); |
// content::WebContentsObserver implementation. |
- virtual void ProvisionalChangeToMainFrameUrl( |
- const GURL& url, |
- content::RenderFrameHost* render_frame_host) OVERRIDE; |
+ virtual void DidGetRedirectForResourceRequest( |
+ content::RenderViewHost* render_view_host, |
+ const content::ResourceRedirectDetails& details) OVERRIDE; |
virtual void DidStopLoading( |
content::RenderViewHost* render_view_host) OVERRIDE; |
virtual void DidStartProvisionalLoadForFrame( |
@@ -66,6 +66,10 @@ class PrerenderTabHelper |
const GURL& validated_url, |
ui::PageTransition transition_type) OVERRIDE; |
+ // Called when the URL of the main frame changed, either when the load |
+ // commits, or a redirect happens. |
+ void MainFrameUrlDidChange(const GURL& url); |
+ |
// Called when a password form has been submitted. |
void PasswordSubmitted(const autofill::PasswordForm& form); |