| Index: chrome/browser/resources/media_router/media_router_data.js
|
| diff --git a/chrome/browser/resources/media_router/media_router_data.js b/chrome/browser/resources/media_router/media_router_data.js
|
| index a61897ff54312151899cdd83ef10b7a899dcbff9..0bbe001b03bc8611d0b98a0e5e3c146bccc61ca5 100644
|
| --- a/chrome/browser/resources/media_router/media_router_data.js
|
| +++ b/chrome/browser/resources/media_router/media_router_data.js
|
| @@ -19,7 +19,7 @@ cr.define('media_router', function() {
|
|
|
| /**
|
| * @param {number} type The type of cast mode. This corresponds to the
|
| - * C++ MediaCastMode.
|
| + * C++ MediaCastMode.
|
| * @param {string} title The title of the cast mode.
|
| * @param {string} description The description of the cast mode.
|
| * @param {string} host The hostname of the site to cast.
|
| @@ -122,10 +122,12 @@ cr.define('media_router', function() {
|
| * @param {string} name The name of the sink.
|
| * @param {media_router.SinkStatus} status The readiness state of the sink.
|
| * @param {!Array<number>} castModes Cast modes compatible with the sink.
|
| + * @param {boolean} isLaunching True if the Media Router is creating a route
|
| + * to this sink.
|
| * @constructor
|
| * @struct
|
| */
|
| - var Sink = function(id, name, status, castModes) {
|
| + var Sink = function(id, name, status, castModes, isLaunching) {
|
| /** @type {string} */
|
| this.id = id;
|
|
|
| @@ -137,6 +139,9 @@ cr.define('media_router', function() {
|
|
|
| /** @type {!Array<number>} */
|
| this.castModes = castModes;
|
| +
|
| + /** @type {boolean} */
|
| + this.isLaunching = isLaunching;
|
| };
|
|
|
|
|
|
|