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

Unified Diff: chrome/browser/tab_contents/interstitial_page.h

Issue 56135: Adding unit tests for the SafeBrowsingBlockingPage class (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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: chrome/browser/tab_contents/interstitial_page.h
===================================================================
--- chrome/browser/tab_contents/interstitial_page.h (revision 12779)
+++ chrome/browser/tab_contents/interstitial_page.h (working copy)
@@ -16,6 +16,7 @@
class MessageLoop;
class NavigationEntry;
class WebContents;
+class WebContentsView;
// This class is a base class for interstitial pages, pages that show some
// informative message asking for user validation before reaching the target
@@ -111,10 +112,14 @@
const GURL& url() const { return url_; }
RenderViewHost* render_view_host() const { return render_view_host_; }
- // Creates and shows the RenderViewHost containing the interstitial content.
+ // Creates the RenderViewHost containing the interstitial content.
// Overriden in unit tests.
virtual RenderViewHost* CreateRenderViewHost();
+ // Creates the WebContentsView that shows the interstitial RVH.
+ // Overriden in unit tests.
+ virtual WebContentsView* CreateWebContentsView();
+
private:
// AutomationProvider needs access to Proceed and DontProceed to simulate
// user actions.
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698