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

Unified Diff: chrome/test/base/chrome_render_view_host_test_harness.h

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. 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/test/base/chrome_render_view_host_test_harness.h
diff --git a/chrome/test/base/chrome_render_view_host_test_harness.h b/chrome/test/base/chrome_render_view_host_test_harness.h
index 10a5ca445cd2117d1099c399322be7ea38cfaa28..f8d15f532fb67b5c22c648a84215475112ae804a 100644
--- a/chrome/test/base/chrome_render_view_host_test_harness.h
+++ b/chrome/test/base/chrome_render_view_host_test_harness.h
@@ -11,6 +11,10 @@
class TestingProfile;
+namespace content {
+class WebContents;
+}
+
// Wrapper around RenderViewHostTestHarness that uses a TestingProfile as
// browser context instead of a TestBrowserContext.
class ChromeRenderViewHostTestHarness : public RenderViewHostTestHarness {
@@ -20,6 +24,7 @@ class ChromeRenderViewHostTestHarness : public RenderViewHostTestHarness {
TestingProfile* profile();
+ content::WebContents* contents();
content::RenderViewHostTester* rvh_tester();
protected:
« no previous file with comments | « chrome/browser/webdata/web_database_migration_unittest.cc ('k') | chrome/test/base/chrome_render_view_host_test_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698