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

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

Issue 2298283002: Site Settings Desktop: Support adding exceptions for incognito mode. (Closed)
Patch Set: Fix test Created 4 years, 3 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_settings_behavior.js
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
index 41b78218eef240918572b51a990e1b065580f171..bd4d91eb504d4d7539af59b58f3f558d87127d01 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
@@ -33,37 +33,6 @@ var SiteSettingsBehaviorImpl = {
},
/**
- * Re-sets the category permission for a given origin.
- * @param {string} primaryPattern The primary pattern to reset the permission
- * for.
- * @param {string} secondaryPattern The secondary pattern to reset the
- * permission for.
- * @param {string} category The category permission to change.
- * @protected
- */
- resetCategoryPermissionForOrigin: function(
- primaryPattern, secondaryPattern, category) {
- this.browserProxy.resetCategoryPermissionForOrigin(
- primaryPattern, secondaryPattern, category);
- },
-
- /**
- * Sets the category permission for a given origin.
- * @param {string} primaryPattern The primary pattern to change the permission
- * for.
- * @param {string} secondaryPattern The secondary pattern to change the
- * permission for.
- * @param {string} category The category permission to change.
- * @param {string} value What value to set the permission to.
- * @protected
- */
- setCategoryPermissionForOrigin: function(
- primaryPattern, secondaryPattern, category, value) {
- this.browserProxy.setCategoryPermissionForOrigin(
- primaryPattern, secondaryPattern, category, value);
- },
-
- /**
* A utility function to lookup a category name from its enum. Note: The
* category name is visible to the user as part of the URL.
* @param {string} category The category ID to look up.

Powered by Google App Engine
This is Rietveld 408576698