| 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);
|
| },
|
|
|
| /**
|
|
|