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 a72a963bc052a11d63962489069b7cb2da9e2965..f2f8fa8a14bf41027498e149168f169b1c2e144b 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 |
@@ -150,6 +150,17 @@ cr.define('settings', function() { |
getOriginPermissions(origin, contentTypes) {} |
/** |
+ * Gets a list of category permissions for a given origin. Note that this |
+ * may be different to the results retrieved by getExceptionList(), since it |
+ * combines different sources of data to get a permission's value. |
+ * @param {string} origin The origin to look up permissions for. |
+ * @param {!Array<string>} contentTypes A list of categories to retrieve |
+ * the ContentSetting for. |
+ * @return {!Promise<!NodeList<!RawSiteException>>} |
+ */ |
+ getOriginPermissions(origin, contentTypes) {} |
dschuyler
2017/07/05 18:30:18
It looks like this is being added a second time (m
Patti Lor
2017/07/06 04:23:40
Oops, thanks for picking this up! Fixed.
|
+ |
+ /** |
* Sets the category permission for a given origin (expressed as primary |
* and secondary patterns). |
* @param {string} primaryPattern The origin to change (primary pattern). |