| Index: chrome/browser/resources/media_router/media_router_ui_interface.js
|
| diff --git a/chrome/browser/resources/media_router/media_router_ui_interface.js b/chrome/browser/resources/media_router/media_router_ui_interface.js
|
| index a8ec54461a248a242f5475c160923d50dc85ccfd..496b3f162337db58dd6c10116f33ed95292d26b2 100644
|
| --- a/chrome/browser/resources/media_router/media_router_ui_interface.js
|
| +++ b/chrome/browser/resources/media_router/media_router_ui_interface.js
|
| @@ -75,10 +75,8 @@ cr.define('media_router.ui', function() {
|
| function setFirstRunFlowData(data) {
|
| container.firstRunFlowCloudPrefLearnMoreUrl =
|
| data['firstRunFlowCloudPrefLearnMoreUrl'];
|
| - container.firstRunFlowLearnMoreUrl =
|
| - data['firstRunFlowLearnMoreUrl'];
|
| - container.showFirstRunFlowCloudPref =
|
| - data['showFirstRunFlowCloudPref'];
|
| + container.firstRunFlowLearnMoreUrl = data['firstRunFlowLearnMoreUrl'];
|
| + container.showFirstRunFlowCloudPref = data['showFirstRunFlowCloudPref'];
|
| // Some users acknowledged the first run flow before the cloud prefs
|
| // setting was implemented. These users will see the first run flow
|
| // again.
|
| @@ -202,8 +200,9 @@ cr.define('media_router.browserApi', function() {
|
| * @param {?number} helpPageId The numeric help center ID.
|
| */
|
| function actOnIssue(issueId, actionType, helpPageId) {
|
| - chrome.send('actOnIssue', [{issueId: issueId, actionType: actionType,
|
| - helpPageId: helpPageId}]);
|
| + chrome.send(
|
| + 'actOnIssue',
|
| + [{issueId: issueId, actionType: actionType, helpPageId: helpPageId}]);
|
| }
|
|
|
| /**
|
| @@ -215,8 +214,9 @@ cr.define('media_router.browserApi', function() {
|
| * selected.
|
| */
|
| function changeRouteSource(route, selectedCastMode) {
|
| - chrome.send('requestRoute',
|
| - [{sinkId: route.sinkId, selectedCastMode: selectedCastMode}]);
|
| + chrome.send(
|
| + 'requestRoute',
|
| + [{sinkId: route.sinkId, selectedCastMode: selectedCastMode}]);
|
| }
|
|
|
| /**
|
| @@ -376,8 +376,8 @@ cr.define('media_router.browserApi', function() {
|
| * selected.
|
| */
|
| function requestRoute(sinkId, selectedCastMode) {
|
| - chrome.send('requestRoute',
|
| - [{sinkId: sinkId, selectedCastMode: selectedCastMode}]);
|
| + chrome.send(
|
| + 'requestRoute', [{sinkId: sinkId, selectedCastMode: selectedCastMode}]);
|
| }
|
|
|
| /**
|
| @@ -394,11 +394,12 @@ cr.define('media_router.browserApi', function() {
|
| */
|
| function searchSinksAndCreateRoute(
|
| sinkId, searchCriteria, domain, selectedCastMode) {
|
| - chrome.send('searchSinksAndCreateRoute',
|
| - [{sinkId: sinkId,
|
| + chrome.send('searchSinksAndCreateRoute', [{
|
| + sinkId: sinkId,
|
| searchCriteria: searchCriteria,
|
| domain: domain,
|
| - selectedCastMode: selectedCastMode}]);
|
| + selectedCastMode: selectedCastMode
|
| + }]);
|
| }
|
|
|
| return {
|
|
|