Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 789703004: Reflect the status of a request for accessing a blacklisted url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index 9a8504028ace2c6585fdd69dc37b15d5a3ce11b4..57cd7fd403b166673d8bd6241662c56544d3ed86 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -701,16 +701,10 @@ RenderWidgetHostView* InterstitialPageImpl::GetView() {
return render_view_host_->GetView();
}
-RenderViewHost* InterstitialPageImpl::GetRenderViewHostForTesting() const {
- return render_view_host_;
+RenderFrameHost* InterstitialPageImpl::GetMainFrame() const {
+ return render_view_host_->GetMainFrame();
}
-#if defined(OS_ANDROID)
-RenderViewHost* InterstitialPageImpl::GetRenderViewHost() const {
- return render_view_host_;
-}
-#endif
-
InterstitialPageDelegate* InterstitialPageImpl::GetDelegateForTesting() {
return delegate_.get();
}
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.h ('k') | content/browser/security_exploit_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698