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

Unified Diff: chrome/test/media_router/media_router_integration_browsertest.h

Issue 595663002: Put chromoting isolate targets under chromoting_swarm_tests=1 GYP variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: chrome/test/media_router/media_router_integration_browsertest.h
diff --git a/chrome/test/media_router/media_router_integration_browsertest.h b/chrome/test/media_router/media_router_integration_browsertest.h
new file mode 100644
index 0000000000000000000000000000000000000000..d5a3e2f2ec06d6be81a30c9b0f4bb4ec92398762
--- /dev/null
+++ b/chrome/test/media_router/media_router_integration_browsertest.h
@@ -0,0 +1,40 @@
+// Copyright 2015 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 CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_INTEGRATION_BROWSERTEST_H_
+#define CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_INTEGRATION_BROWSERTEST_H_
+
+#include <string>
+
+#include "base/debug/stack_trace.h"
+#include "chrome/test/media_router/media_router_base_browsertest.h"
+
+
+namespace media_router {
+
+class MediaRouter;
+
+class MediaRouterIntegrationBrowserTest : public MediaRouterBaseBrowserTest {
+ public:
+ MediaRouterIntegrationBrowserTest();
+ ~MediaRouterIntegrationBrowserTest() override;
+
+ protected:
+ // Simulate user action to choose one sink in the popup dialog.
+ // |web_contents|: The web contents of the test page which invokes the popup
+ // dialog.
+ // |sink_id|: The sink id.
+ void ChooseSink(content::WebContents* web_contents,
+ const std::string& sink_id);
+
+ // Execute javascript and check the return value.
+ void ExecuteJavaScriptAPI(content::WebContents* web_contents,
+ const std::string& script);
+
+ void OpenTestPage(const std::string& file);
+};
+
+} // namespace media_router
+
+#endif // CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_INTEGRATION_BROWSERTEST_H_

Powered by Google App Engine
This is Rietveld 408576698