Index: chrome/browser/prerender/prerender_observer.h |
diff --git a/chrome/browser/prerender/prerender_observer.h b/chrome/browser/prerender/prerender_observer.h |
index eb7d112d75c9e047f5662f16c5f22733651e2277..c72df750d1b5517f9f7b6debb4c8eabfe1cbf38e 100644 |
--- a/chrome/browser/prerender/prerender_observer.h |
+++ b/chrome/browser/prerender/prerender_observer.h |
@@ -30,13 +30,15 @@ class PrerenderObserver : public TabContentsObserver { |
virtual ~PrerenderObserver(); |
// TabContentsObserver implementation. |
- virtual void ProvisionalChangeToMainFrameUrl(const GURL& url) OVERRIDE; |
+ virtual void ProvisionalChangeToMainFrameUrl(const GURL& url, |
+ bool has_opener_set) OVERRIDE; |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
virtual void DidStopLoading() OVERRIDE; |
// Message handler. |
void OnDidStartProvisionalLoadForFrame(int64 frame_id, |
bool main_frame, |
+ bool has_opener_set, |
const GURL& url); |
private: |
@@ -46,7 +48,7 @@ class PrerenderObserver : public TabContentsObserver { |
// Checks with the PrerenderManager if the specified URL has been preloaded, |
// and if so, swap the RenderViewHost with the preload into this TabContents |
// object. |
- bool MaybeUsePreloadedPage(const GURL& url); |
+ bool MaybeUsePreloadedPage(const GURL& url, bool has_opener_set); |
// System time at which the current load was started for the purpose of |
// the perceived page load time (PPLT). |