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

Unified Diff: chrome/browser/resources/settings/people_page/sync_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/people_page/sync_browser_proxy.js
diff --git a/chrome/browser/resources/settings/people_page/sync_browser_proxy.js b/chrome/browser/resources/settings/people_page/sync_browser_proxy.js
index 252ed1d22367e7c1c67d5b39b0ccbdc09044916c..648d22fdd8c65d3197decd6152b605fae0c265d5 100644
--- a/chrome/browser/resources/settings/people_page/sync_browser_proxy.js
+++ b/chrome/browser/resources/settings/people_page/sync_browser_proxy.js
@@ -108,7 +108,7 @@ cr.define('settings', function() {
function SyncBrowserProxy() {}
SyncBrowserProxy.prototype = {
-// <if expr="not chromeos">
+ // <if expr="not chromeos">
/**
* Starts the signin process for the user. Does nothing if the user is
* already signed in.
@@ -125,14 +125,14 @@ cr.define('settings', function() {
* Opens the multi-profile user manager.
*/
manageOtherPeople: function() {},
-// </if>
+ // </if>
-// <if expr="chromeos">
+ // <if expr="chromeos">
/**
* Signs the user out.
*/
attemptUserExit: function() {},
-// </if>
+ // </if>
/**
* Gets the current sync status.
@@ -181,7 +181,7 @@ cr.define('settings', function() {
cr.addSingletonGetter(SyncBrowserProxyImpl);
SyncBrowserProxyImpl.prototype = {
-// <if expr="not chromeos">
+ // <if expr="not chromeos">
/** @override */
startSignIn: function() {
chrome.send('SyncSetupStartSignIn');
@@ -196,13 +196,13 @@ cr.define('settings', function() {
manageOtherPeople: function() {
chrome.send('SyncSetupManageOtherPeople');
},
-// </if>
-// <if expr="chromeos">
+ // </if>
+ // <if expr="chromeos">
/** @override */
attemptUserExit: function() {
return chrome.send('AttemptUserExit');
},
-// </if>
+ // </if>
/** @override */
getSyncStatus: function() {
@@ -221,14 +221,14 @@ cr.define('settings', function() {
/** @override */
setSyncDatatypes: function(syncPrefs) {
- return cr.sendWithPromise('SyncSetupSetDatatypes',
- JSON.stringify(syncPrefs));
+ return cr.sendWithPromise(
+ 'SyncSetupSetDatatypes', JSON.stringify(syncPrefs));
},
/** @override */
setSyncEncryption: function(syncPrefs) {
- return cr.sendWithPromise('SyncSetupSetEncryption',
- JSON.stringify(syncPrefs));
+ return cr.sendWithPromise(
+ 'SyncSetupSetEncryption', JSON.stringify(syncPrefs));
},
/** @override */

Powered by Google App Engine
This is Rietveld 408576698