| Index: chromecast/browser/test/chromecast_browser_test_helper.h
|
| diff --git a/chromecast/browser/test/chromecast_browser_test_helper.h b/chromecast/browser/test/chromecast_browser_test_helper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..030e40c89eb627564bdb432ae1567d9fb1b862d8
|
| --- /dev/null
|
| +++ b/chromecast/browser/test/chromecast_browser_test_helper.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROMECAST_BROWSER_TEST_CHROMECAST_BROWSER_TEST_HELPER_H_
|
| +#define CHROMECAST_BROWSER_TEST_CHROMECAST_BROWSER_TEST_HELPER_H_
|
| +
|
| +#include <memory>
|
| +
|
| +class GURL;
|
| +
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| +namespace chromecast {
|
| +namespace shell {
|
| +
|
| +class ChromecastBrowserTestHelper {
|
| + public:
|
| + // Creates an implementation of ChromecastBrowserTestHelper. Allows public
|
| + // and internal builds to instantiate different implementations.
|
| + static std::unique_ptr<ChromecastBrowserTestHelper> Create();
|
| +
|
| + virtual ~ChromecastBrowserTestHelper() {}
|
| + virtual content::WebContents* NavigateToURL(const GURL& url) = 0;
|
| +};
|
| +
|
| +} // namespace shell
|
| +} // namespace chromecast
|
| +
|
| +#endif // CHROMECAST_BROWSER_TEST_CHROMECAST_BROWSER_TEST_HELPER_H_
|
|
|