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

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

Issue 2131953002: Site Settings Desktop: Implement protocol handler section. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 5 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 4c24964206ec390dd650bfa6982894233d3a2d57..3020f519716a74a72d8ff935112a28ccc1f6b276 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.js
+++ b/chrome/browser/resources/settings/site_settings/site_list.js
@@ -243,6 +243,13 @@ Polymer({
getAllSitesList_: function() {
var promiseList = [];
for (var type in settings.ContentSettingsTypes) {
+ if (settings.ContentSettingsTypes[type] ==
+ settings.ContentSettingsTypes.PROTOCOL_HANDLERS) {
+ // Protocol handlers don't have data stored the way all the other
+ // categories do.
+ continue;
+ }
+
promiseList.push(
this.browserProxy_.getExceptionList(
settings.ContentSettingsTypes[type]));

Powered by Google App Engine
This is Rietveld 408576698