| Index: content/browser/web_contents/interstitial_page_impl.h | 
| diff --git a/content/browser/web_contents/interstitial_page_impl.h b/content/browser/web_contents/interstitial_page_impl.h | 
| index 2b3108a8e30fc424ef590e35899e838b32ea97d7..532dcc293ff37d506a32c404a1669692dc9b09b4 100644 | 
| --- a/content/browser/web_contents/interstitial_page_impl.h | 
| +++ b/content/browser/web_contents/interstitial_page_impl.h | 
| @@ -14,6 +14,7 @@ | 
| #include "content/public/browser/interstitial_page.h" | 
| #include "content/public/browser/notification_observer.h" | 
| #include "content/public/browser/notification_registrar.h" | 
| +#include "content/public/browser/web_contents_observer.h" | 
| #include "content/public/common/renderer_preferences.h" | 
| #include "googleurl/src/gurl.h" | 
|  | 
| @@ -33,6 +34,7 @@ enum ResourceRequestAction { | 
| class CONTENT_EXPORT InterstitialPageImpl | 
| : public NON_EXPORTED_BASE(InterstitialPage), | 
| public NotificationObserver, | 
| +      public WebContentsObserver, | 
| public RenderViewHostDelegate, | 
| public RenderWidgetHostDelegate { | 
| public: | 
| @@ -89,6 +91,9 @@ class CONTENT_EXPORT InterstitialPageImpl | 
| const NotificationSource& source, | 
| const NotificationDetails& details) OVERRIDE; | 
|  | 
| +  // WebContentsObserver implementation: | 
| +  virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; | 
| + | 
| // RenderViewHostDelegate implementation: | 
| virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 
| virtual const GURL& GetURL() const OVERRIDE; | 
| @@ -162,6 +167,8 @@ class CONTENT_EXPORT InterstitialPageImpl | 
| // Shutdown the RVH.  We will be deleted by the time this method returns. | 
| void Shutdown(RenderViewHostImpl* render_view_host); | 
|  | 
| +  void OnNavigatingAwayOrTabClosing(); | 
| + | 
| // Executes the passed action on the ResourceDispatcher (on the IO thread). | 
| // Used to block/resume/cancel requests for the RenderViewHost hidden by this | 
| // interstitial. | 
|  |