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

Unified 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 side-by-side diff with in-line comments
Download patch
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_
« 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