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

Unified Diff: chrome/browser/resources/media_router/media_router_ui_interface.js

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge Created 3 years, 11 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/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 {

Powered by Google App Engine
This is Rietveld 408576698