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

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

Issue 2820433003: [Presentation API] Add browser tests for 1-UA mode (Closed)
Patch Set: Created 3 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: 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
index c55a8b7971f1aaa4b60a6cd00d6849e0e8bd8ce4..476fe5d8cd42d6b6cd69b008fc9d8a4c7577fd49 100644
--- a/chrome/test/media_router/media_router_integration_browsertest.h
+++ b/chrome/test/media_router/media_router_integration_browsertest.h
@@ -87,6 +87,7 @@ class MediaRouterIntegrationBrowserTest : public MediaRouterBaseBrowserTest {
void OpenTestPage(base::FilePath::StringPieceType file);
void OpenTestPageInNewTab(base::FilePath::StringPieceType file);
+ virtual GURL GetTestPageUrl(const base::FilePath& full_path);
void SetTestData(base::FilePath::StringPieceType test_data_file);
@@ -152,10 +153,20 @@ class MediaRouterIntegrationBrowserTest : public MediaRouterBaseBrowserTest {
// dialog, then terminated.
void RunBasicTest();
+ // Runs a test in which we start a session and send a message.
+ void RunSendMessageTest(const std::string& message);
+
+ // Runs a test in which we start a session, close it and send a message.
+ void RunFailToSendMessageTest();
+
// Runs a test in which we start a session and reconnect to it from another
// tab.
void RunReconnectSessionTest();
+ // Runs a test in which we start a session and reconnect to it from the same
+ // tab.
+ void RunReconnectSessionSameTabTest();
+
std::string receiver() const { return receiver_; }
private:

Powered by Google App Engine
This is Rietveld 408576698