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

Side by Side Diff: chromecast/browser/test/chromecast_browser_test_helper.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_BROWSER_TEST_CHROMECAST_BROWSER_TEST_HELPER_H_
6 #define CHROMECAST_BROWSER_TEST_CHROMECAST_BROWSER_TEST_HELPER_H_
7
8 #include <memory>
9
10 class GURL;
11
12 namespace content {
13 class WebContents;
14 }
15
16 namespace chromecast {
17 namespace shell {
18
19 class ChromecastBrowserTestHelper {
20 public:
21 // Creates an implementation of ChromecastBrowserTestHelper. Allows public
22 // and internal builds to instantiate different implementations.
23 static std::unique_ptr<ChromecastBrowserTestHelper> Create();
24
25 virtual ~ChromecastBrowserTestHelper() {}
26 virtual content::WebContents* NavigateToURL(const GURL& url) = 0;
27 };
28
29 } // namespace shell
30 } // namespace chromecast
31
32 #endif // CHROMECAST_BROWSER_TEST_CHROMECAST_BROWSER_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « chromecast/browser/test/chromecast_browser_test.cc ('k') | chromecast/browser/test/chromecast_browser_test_helper_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698