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

Unified Diff: chrome/test/media_router/resources/README.md

Issue 2108973002: [Media Router] Return NotFoundError on dialog exit if appropriate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments, add no-sinks integration test, update test data json format Created 4 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
« no previous file with comments | « chrome/test/media_router/media_router_tests.gypi ('k') | chrome/test/media_router/resources/no_sinks.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/media_router/resources/README.md
diff --git a/chrome/test/media_router/resources/README.md b/chrome/test/media_router/resources/README.md
index c03bfd24d2c9ea91619af10fcc21f8791bfc9508..d19f1a194b21b4ffe94c66eb2fe83334079de6f7 100644
--- a/chrome/test/media_router/resources/README.md
+++ b/chrome/test/media_router/resources/README.md
@@ -6,11 +6,16 @@ The test data is a JSON string and here is full example with description:
{
// Define the return value for getAvailableSinks API defined in
// TestProvider.js.
- // The return value is a list as following. Default value is:
+ // The value is a map from source urn to a list of sinks as following. Default
+ // value is for test source urn only and is:
// [{"id": "id1", "friendlyName": "test-sink-1"},
// {"id": "id2", "friendlyName": "test-sink-2"}]
- "getAvailableSinks": [{"id": "id1", "friendlyName": "test-device-1"},
- {"id": "id2", "friendlyName": "test-device-2"}],
+ "getAvailableSinks": {
+ "http://www.google.com/": [
+ {"id": "id1", "friendlyName": "test-device-1"},
+ {"id": "id2", "friendlyName": "test-device-2"}
+ ]
+ },
// Define the return value for canRoute API, the return value should be
// either 'true' or 'false'. The default value is 'true'.
« no previous file with comments | « chrome/test/media_router/media_router_tests.gypi ('k') | chrome/test/media_router/resources/no_sinks.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698