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

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

Issue 1882793002: Site Settings: Use only string values for permissions on the JS side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 8 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 e15c22119c977d4c201fc00bd1798b81db4f97ad..599015405257dc78e5ebc1c7edf8119386e2629e 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_behavior.js
@@ -49,12 +49,12 @@ var SiteSettingsBehaviorImpl = {
* for.
* @param {string} secondaryPattern The secondary pattern to change the
* permission for.
- * @param {number} value What value to set the permission to.
* @param {number} category The category permission to change.
+ * @param {string} value What value to set the permission to.
* @protected
*/
setCategoryPermissionForOrigin: function(
- primaryPattern, secondaryPattern, value, category) {
+ primaryPattern, secondaryPattern, category, value) {
this.browserProxy.setCategoryPermissionForOrigin(
primaryPattern, secondaryPattern, category, value);
},

Powered by Google App Engine
This is Rietveld 408576698