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

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

Issue 2426683003: [MD settings] remove count of content items in content settings (Closed)
Patch Set: removed exception counter tests Created 4 years, 2 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 41f844e50bf027e34072ff405f0adb9c232de9c3..8c6af1e2537ff4689c56ab25659ea7f52c5e2f25 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.js
+++ b/chrome/browser/resources/settings/site_settings/site_list.js
@@ -474,29 +474,6 @@ Polymer({
},
/**
- * Returns the appropriate header value for display.
- * @param {Array<string>} siteList The list of all sites to display for this
- * category subtype.
- * @param {boolean} toggleState The state of the global toggle for this
- * category.
- * @private
- */
- computeSiteListHeader_: function(siteList, toggleState) {
- var title = '';
- if (this.categorySubtype == settings.PermissionValues.ALLOW) {
- title = loadTimeData.getString(
- toggleState ? 'siteSettingsAllow' : 'siteSettingsExceptions');
- } else if (this.categorySubtype == settings.PermissionValues.BLOCK) {
- title = loadTimeData.getString('siteSettingsBlock');
- } else if (this.categorySubtype == settings.PermissionValues.SESSION_ONLY) {
- title = loadTimeData.getString('siteSettingsSessionOnly');
- } else {
- return title;
- }
- return loadTimeData.getStringF('titleAndCount', title, siteList.length);
- },
-
- /**
* Returns the appropriate site description to display. This can, for example,
* be blank, an 'embedded on <site>' or 'Current incognito session' (or a
* mix of the last two).

Powered by Google App Engine
This is Rietveld 408576698