Index: chrome/browser/resources/settings/site_settings/edit_exception_dialog.js |
diff --git a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js |
index e44f6b794162f77309aeea3a17da7d649bf23c7e..968b5d10396637b4f04ae1bf8aa06e28a1c4e8ea 100644 |
--- a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js |
+++ b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js |
@@ -39,21 +39,17 @@ Polymer({ |
/** @private */ |
onActionButtonTap_: function() { |
if (this.model.origin != this.origin_) { |
- // TODO(dpapad): Only COOKIES category can be edited currently, |
- // crbug.com/695578. |
- var category = settings.ContentSettingsTypes.COOKIES; |
- |
// The way to "edit" an exception is to remove it and and a new one. |
this.browserProxy_.resetCategoryPermissionForOrigin( |
this.model.origin, |
this.model.embeddingOrigin, |
- category, |
+ this.model.category, |
this.model.incognito); |
this.browserProxy_.setCategoryPermissionForOrigin( |
this.origin_, |
this.origin_, |
- category, |
+ this.model.category, |
this.model.setting, |
this.model.incognito); |
} |