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

Unified Diff: chrome/browser/resources/supervised_user_internals.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: hackhackhack 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/supervised_user_internals.js
diff --git a/chrome/browser/resources/supervised_user_internals.js b/chrome/browser/resources/supervised_user_internals.js
index 872cec5c98760cc59e74d03cb9290293d8936af5..7c15bf191b592968322fb47b5c7636b4e191f36e 100644
--- a/chrome/browser/resources/supervised_user_internals.js
+++ b/chrome/browser/resources/supervised_user_internals.js
@@ -46,7 +46,9 @@ cr.define('chrome.supervised_user_internals', function() {
// Hack: Schedule another refresh after a while.
// TODO(treib): Get rid of this once we're properly notified of all
// relevant changes.
- setTimeout(function() { chrome.send('getBasicInfo'); }, 5000);
+ setTimeout(function() {
+ chrome.send('getBasicInfo');
+ }, 5000);
}
function receiveUserSettings(settings) {
@@ -62,10 +64,7 @@ cr.define('chrome.supervised_user_internals', function() {
// This is not done recursively, values are passed as their JSON
// representation.
var kvpairs = Object.keys(settings).map(function(key) {
- return {
- key: key,
- value: JSON.stringify(settings[key], null, 2)
- };
+ return {key: key, value: JSON.stringify(settings[key], null, 2)};
});
jstProcess(new JsEvalContext({settings: kvpairs}), $('user-settings'));
@@ -110,7 +109,7 @@ cr.define('chrome.supervised_user_internals', function() {
// the scrollbar alone.
var shouldScrollDown = isScrolledToBottom(container);
- jstProcess(new JsEvalContext({ results: filteringResults }), container);
+ jstProcess(new JsEvalContext({results: filteringResults}), container);
if (shouldScrollDown)
scrollToBottom(container);
@@ -127,5 +126,5 @@ cr.define('chrome.supervised_user_internals', function() {
};
});
-document.addEventListener('DOMContentLoaded',
- chrome.supervised_user_internals.initialize);
+document.addEventListener(
+ 'DOMContentLoaded', chrome.supervised_user_internals.initialize);

Powered by Google App Engine
This is Rietveld 408576698