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

Unified Diff: chromecast/browser/test/chromecast_browser_test.h

Issue 1870443003: [Chromecast] Enable browser media tests to work on internal builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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
« no previous file with comments | « chromecast/browser/BUILD.gn ('k') | chromecast/browser/test/chromecast_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/test/chromecast_browser_test.h
diff --git a/chromecast/browser/test/chromecast_browser_test.h b/chromecast/browser/test/chromecast_browser_test.h
index 3daa51b5b60291323f977904165a523d74e2de81..7ced124718e7887510941dba707e23b1ad341dde 100644
--- a/chromecast/browser/test/chromecast_browser_test.h
+++ b/chromecast/browser/test/chromecast_browser_test.h
@@ -17,7 +17,7 @@ class WebContents;
namespace chromecast {
namespace shell {
-class CastContentWindow;
+class ChromecastBrowserTestHelper;
// This test allows for running an entire browser-process lifecycle per unit
// test, using Chromecast's cast_shell. This starts up the shell, runs a test
@@ -36,18 +36,9 @@ class ChromecastBrowserTest : public content::BrowserTestBase {
void RunTestOnMainThreadLoop() override;
protected:
- void NavigateToURL(content::WebContents* window, const GURL& gurl);
-
- // Creates a new window and loads about:blank.
- content::WebContents* CreateBrowser();
-
- // Returns the window for the test.
- content::WebContents* web_contents() const { return web_contents_.get(); }
+ std::unique_ptr<ChromecastBrowserTestHelper> helper_;
private:
- std::unique_ptr<content::WebContents> web_contents_;
- std::unique_ptr<CastContentWindow> window_;
-
bool setup_called_;
DISALLOW_COPY_AND_ASSIGN(ChromecastBrowserTest);
« no previous file with comments | « chromecast/browser/BUILD.gn ('k') | chromecast/browser/test/chromecast_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698