Index: chrome/browser/tab_contents/render_view_host_manager.cc |
=================================================================== |
--- chrome/browser/tab_contents/render_view_host_manager.cc (revision 67155) |
+++ chrome/browser/tab_contents/render_view_host_manager.cc (working copy) |
@@ -217,6 +217,17 @@ |
// the response is not a download. |
} |
+void RenderViewHostManager::set_interstitial_page( |
+ InterstitialPage* interstitial_page) { |
+ DCHECK(!interstitial_page_ && interstitial_page); |
+ interstitial_page_ = interstitial_page; |
+} |
+ |
+void RenderViewHostManager::remove_interstitial_page() { |
+ DCHECK(interstitial_page_); |
+ interstitial_page_ = NULL; |
+} |
+ |
void RenderViewHostManager::ShouldClosePage(bool for_cross_site_transition, |
bool proceed) { |
if (for_cross_site_transition) { |