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

Unified Diff: chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.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: Fix unit test 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_prefs_browser_proxy.js
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js b/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
index 3ba16931c8b26a9e3d8b0ae0f440693cda8e7dc1..d38528d18a3deed339a8e1fa9d3818aa5d3c5b88 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js
@@ -78,7 +78,7 @@ cr.define('settings', function() {
* @param {!string} secondaryPattern The embedding origin to change
* (secondary pattern).
* @param {!number} contentType The category to change.
- * @param {!number} value The value to change the permission to.
+ * @param {!string} value The value to change the permission to.
*/
setCategoryPermissionForOrigin: function(
primaryPattern, secondaryPattern, contentType, value) {},

Powered by Google App Engine
This is Rietveld 408576698