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

Unified Diff: chrome/browser/resources/settings/site_settings/site_data_details_subpage.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/site_data_details_subpage.js
diff --git a/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
index ed83ad966cd95f2fdbef0f3a6e170d1fc659efbd..e01f9a88ab4aec257cd18f6c5b7ea63f6111e268 100644
--- a/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
+++ b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
(function() {
- 'use strict';
+'use strict';
/**
* 'site-data-details-subpage' Display cookie contents.
@@ -45,8 +45,8 @@ Polymer({
this.browserProxy_ =
settings.SiteSettingsPrefsBrowserProxyImpl.getInstance();
- this.addWebUIListener('onTreeItemRemoved',
- this.getCookieDetails_.bind(this));
+ this.addWebUIListener(
+ 'onTreeItemRemoved', this.getCookieDetails_.bind(this));
},
/**
@@ -69,9 +69,10 @@ Polymer({
getCookieDetails_: function() {
if (!this.site_)
return;
- this.browserProxy_.getCookieDetails(this.site_).then(
- this.onCookiesLoaded_.bind(this),
- this.onCookiesLoadFailed_.bind(this));
+ this.browserProxy_.getCookieDetails(this.site_)
+ .then(
+ this.onCookiesLoaded_.bind(this),
+ this.onCookiesLoadFailed_.bind(this));
},
/**
@@ -90,7 +91,9 @@ Polymer({
this.siteId_ = cookies.id;
this.entries_ = cookies.children;
// Set up flag for expanding cookie details.
- this.entries_.forEach(function(e) { e.expanded_ = false; });
+ this.entries_.forEach(function(e) {
+ e.expanded_ = false;
+ });
},
/**
@@ -125,7 +128,7 @@ Polymer({
*/
onRemove_: function(event) {
this.browserProxy_.removeCookie(
- /** @type {!CookieDetails} */(event.currentTarget.dataset).idPath);
+ /** @type {!CookieDetails} */ (event.currentTarget.dataset).idPath);
},
/**

Powered by Google App Engine
This is Rietveld 408576698