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

Unified Diff: chrome/browser/resources/settings/site_settings/site_list.js

Issue 2768053004: [MD settings] change sites to private sites_
Patch Set: Created 3 years, 9 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_list.js
diff --git a/chrome/browser/resources/settings/site_settings/site_list.js b/chrome/browser/resources/settings/site_settings/site_list.js
index e32f1610a89d662e21d7a997ee706808b36bbe06..827d721307ed1aa12ec11f1909a61c92d08399a1 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.js
+++ b/chrome/browser/resources/settings/site_settings/site_list.js
@@ -58,9 +58,9 @@ Polymer({
/**
* Array of sites to display in the widget.
- * @type {!Array<SiteException>}
+ * @private {!Array<SiteException>}
*/
- sites: {
+ sites_: {
type: Array,
value: function() { return []; },
},
@@ -199,7 +199,7 @@ Polymer({
* @private
*/
hasSites_: function() {
- return !!this.sites.length;
+ return !!this.sites_.length;
},
/**
@@ -261,7 +261,7 @@ Polymer({
var sites = [];
for (var i = 0; i < data.length; ++i)
sites = this.appendSiteList_(sites, data[i]);
- this.sites = this.toSiteArray_(sites);
+ this.sites_ = this.toSiteArray_(sites);
},
/**

Powered by Google App Engine
This is Rietveld 408576698