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

Unified Diff: chrome/browser/resources/settings/site_settings/cookie_tree_node.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_node.js
diff --git a/chrome/browser/resources/settings/site_settings/cookie_tree_node.js b/chrome/browser/resources/settings/site_settings/cookie_tree_node.js
index f6c1cbc5d98c54cff5a7558e54d8d587c377b47b..5072401fefd231a08486d8644340dce79dad1b28 100644
--- a/chrome/browser/resources/settings/site_settings/cookie_tree_node.js
+++ b/chrome/browser/resources/settings/site_settings/cookie_tree_node.js
@@ -109,7 +109,7 @@ cr.define('settings', function() {
}
if (this.populateChildNodes(
- parentId, startingNode.children_[i], newNodes)) {
+ parentId, startingNode.children_[i], newNodes)) {
return true;
}
}
@@ -136,9 +136,11 @@ cr.define('settings', function() {
var list = [];
for (var child of this.children_) {
for (var cookie of child.children_) {
- list.push({title: cookie.data.title,
- id: cookie.data.id,
- data: cookie.data});
+ list.push({
+ title: cookie.data.title,
+ id: cookie.data.id,
+ data: cookie.data
+ });
}
}
@@ -184,7 +186,7 @@ cr.define('settings', function() {
dataType, descriptionNode.data.totalUsage);
}
}
- list.push({ site: title, id: id, localData: description });
+ list.push({site: title, id: id, localData: description});
}
list.sort(function(a, b) {
return a.site.localeCompare(b.site);

Powered by Google App Engine
This is Rietveld 408576698