OLD | NEW |
(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_ |
OLD | NEW |