Index: chrome/browser/tab_contents/interstitial_page.h |
diff --git a/chrome/browser/tab_contents/interstitial_page.h b/chrome/browser/tab_contents/interstitial_page.h |
index 50ede04443e8e8e4334d74c53b7ab07993e3e6e0..17f66c03ad215d8f46140bc66fdedce547e02cb7 100644 |
--- a/chrome/browser/tab_contents/interstitial_page.h |
+++ b/chrome/browser/tab_contents/interstitial_page.h |
@@ -69,7 +69,7 @@ class InterstitialPage : public NotificationObserver, |
static InterstitialPage* GetInterstitialPage(TabContents* tab_contents); |
// Sub-classes should return the HTML that should be displayed in the page. |
- virtual std::string GetHTMLContents() { return std::string(); } |
+ virtual std::string GetHTMLContents(); |
// Reverts to the page showing before the interstitial. |
// Sub-classes should call this method when the user has chosen NOT to proceed |
@@ -100,9 +100,7 @@ class InterstitialPage : public NotificationObserver, |
// Called when tab traversing. |
void FocusThroughTabTraversal(bool reverse); |
- virtual ViewType::Type GetRenderViewType() const { |
- return ViewType::INTERSTITIAL_PAGE; |
- } |
+ virtual ViewType::Type GetRenderViewType() const; |
virtual int GetBrowserWindowID() const; |
// See description above field. |