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

Unified Diff: chrome/browser/resources/settings/site_settings/cookie_tree_behavior.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/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 9f090f7bec2a08d99bb316e0514f3dbf543658c9..695e8f736767a22b562a624f3ab19665637a2c19 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,15 +43,15 @@ 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 (let child of children) {
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