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

Unified Diff: chrome/browser/ssl/ssl_browser_tests.cc

Issue 9645003: Introduce abstractions to allow embedders to test RenderViewHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 8 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/ssl/ssl_browser_tests.cc
diff --git a/chrome/browser/ssl/ssl_browser_tests.cc b/chrome/browser/ssl/ssl_browser_tests.cc
index 3c3133203ed14fc741cfe29e8148b31c4f5a56df..85bca27100945a65d65d2f4c0d47aa093036c1c1 100644
--- a/chrome/browser/ssl/ssl_browser_tests.cc
+++ b/chrome/browser/ssl/ssl_browser_tests.cc
@@ -14,7 +14,6 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
-#include "content/browser/renderer_host/test_render_view_host.h"
#include "content/public/browser/interstitial_page.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
@@ -24,6 +23,7 @@
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/security_style.h"
#include "content/public/common/ssl_status.h"
+#include "content/test/test_renderer_host.h"
#include "net/base/cert_status_flags.h"
#include "net/test/test_server.h"
@@ -425,7 +425,7 @@ IN_PROC_BROWSER_TEST_F(SSLUITest,
// Wait until we hear the load failure, and make sure we haven't swapped out
// the previous page. Prevents regression of http://crbug.com/82667.
load_failed_observer.Wait();
- EXPECT_FALSE(content::TestRenderViewHost::IsRenderViewHostSwappedOut(
+ EXPECT_FALSE(content::RenderViewHostTester::IsRenderViewHostSwappedOut(
tab->GetRenderViewHost()));
// We should be back at the original good page.

Powered by Google App Engine
This is Rietveld 408576698