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

Unified Diff: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review Created 3 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
Index: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
diff --git a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
index 892ceca55f2b582980e94af803692b18cef2306f..52f3ceddc4e2d4e1dfc829d0f94f2822a095132b 100644
--- a/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
+++ b/chrome/browser/resources/settings/about_page/about_page_browser_proxy.js
@@ -100,9 +100,12 @@ cr.define('settings', function() {
*/
function browserChannelToI18nId(channel) {
switch (channel) {
- case BrowserChannel.BETA: return 'aboutChannelBeta';
- case BrowserChannel.DEV: return 'aboutChannelDev';
- case BrowserChannel.STABLE: return 'aboutChannelStable';
+ case BrowserChannel.BETA:
+ return 'aboutChannelBeta';
+ case BrowserChannel.DEV:
+ return 'aboutChannelDev';
+ case BrowserChannel.STABLE:
+ return 'aboutChannelStable';
}
assertNotReached();
@@ -144,14 +147,14 @@ cr.define('settings', function() {
/** Opens the help page. */
openHelpPage: function() {},
-// <if expr="_google_chrome">
+ // <if expr="_google_chrome">
/**
* Opens the feedback dialog.
*/
openFeedbackDialog: function() {},
-// </if>
+ // </if>
-// <if expr="chromeos">
+ // <if expr="chromeos">
/**
* Checks for available update and applies if it exists.
*/
@@ -183,14 +186,14 @@ cr.define('settings', function() {
/** @return {!Promise<?RegulatoryInfo>} */
getRegulatoryInfo: function() {},
-// </if>
+ // </if>
-// <if expr="_google_chrome and is_macosx">
+ // <if expr="_google_chrome and is_macosx">
/**
* Triggers setting up auto-updates for all users.
*/
promoteUpdater: function() {},
-// </if>
+ // </if>
};
/**
@@ -211,26 +214,26 @@ cr.define('settings', function() {
chrome.send('refreshUpdateStatus');
},
-// <if expr="_google_chrome and is_macosx">
+ // <if expr="_google_chrome and is_macosx">
/** @override */
promoteUpdater: function() {
chrome.send('promoteUpdater');
},
-// </if>
+ // </if>
/** @override */
openHelpPage: function() {
chrome.send('openHelpPage');
},
-// <if expr="_google_chrome">
+ // <if expr="_google_chrome">
/** @override */
openFeedbackDialog: function() {
chrome.send('openFeedbackDialog');
},
-// </if>
+ // </if>
-// <if expr="chromeos">
+ // <if expr="chromeos">
/** @override */
requestUpdate: function() {
chrome.send('requestUpdate');
@@ -260,7 +263,7 @@ cr.define('settings', function() {
getRegulatoryInfo: function() {
return cr.sendWithPromise('getRegulatoryInfo');
}
-// </if>
+ // </if>
};
return {

Powered by Google App Engine
This is Rietveld 408576698