Index: content/public/browser/interstitial_page.cc |
diff --git a/content/public/browser/interstitial_page.cc b/content/public/browser/interstitial_page.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b77af33eadf660ae92804566ef8045b0aae830a5 |
--- /dev/null |
+++ b/content/public/browser/interstitial_page.cc |
@@ -0,0 +1,23 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "content/public/browser/interstitial_page.h" |
+ |
+#include "content/browser/web_contents/interstitial_page_impl.h" |
+#include "content/browser/web_contents/web_contents_impl.h" |
+ |
+namespace content { |
+ |
+InterstitialPage* InterstitialPage::Create(WebContents* web_contents, |
+ bool new_navigation, |
+ const GURL& url, |
+ InterstitialPageDelegate* delegate) { |
+ return new InterstitialPageImpl( |
+ web_contents, |
+ static_cast<RenderWidgetHostDelegate*>( |
+ static_cast<WebContentsImpl*>(web_contents)), |
+ new_navigation, url, delegate); |
+} |
+ |
+} // namespace content |