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

Unified Diff: chrome/browser/resources/settings/site_settings/cookie_tree_behavior.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/site_settings/cookie_tree_behavior.js
diff --git a/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js b/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
index 287622ca3a8a35fd6a7a2e06105ae8397cd8dac6..0b540b9c63a7a326a313e7edfd02afe386ac2fdc 100644
--- a/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
+++ b/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
@@ -26,8 +26,8 @@ var CookieTreeBehaviorImpl = {
/** @override */
ready: function() {
- cr.addWebUIListener('onTreeItemRemoved',
- this.onTreeItemRemoved_.bind(this));
+ cr.addWebUIListener(
+ 'onTreeItemRemoved', this.onTreeItemRemoved_.bind(this));
this.rootCookieNode = new settings.CookieTreeNode(null);
},
@@ -43,16 +43,16 @@ var CookieTreeBehaviorImpl = {
var children = childList.children;
var prefix = '';
if (parentId !== null) {
- this.rootCookieNode.populateChildNodes(parentId,
- this.rootCookieNode, children);
+ this.rootCookieNode.populateChildNodes(
+ parentId, this.rootCookieNode, children);
prefix = parentId + ', ';
}
var promises = [];
for (var i = 0; i < children.length; i++) {
var child = children[i];
if (child.hasChildren) {
- promises.push(this.browserProxy.loadCookieChildren(
- prefix + child.id).then(loadChildrenRecurse.bind(this)));
+ promises.push(this.browserProxy.loadCookieChildren(prefix + child.id)
+ .then(loadChildrenRecurse.bind(this)));
}
}
return Promise.all(promises);

Powered by Google App Engine
This is Rietveld 408576698