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

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

Issue 2946393002: MD Settings: Amend SiteSettingsHandlerTest.Origins to test "Site Details" code. (Closed)
Patch Set: Remove camels. Created 3 years, 5 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 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).

Powered by Google App Engine
This is Rietveld 408576698