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

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

Issue 2338163004: [MD settings] add getSiteDetails to site settings browser proxy (Closed)
Patch Set: review changes 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_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 163a093dc93081e7baaf30065f2a052a068cbdc2..10e158411c77f2602376f05bb9c1e1f27600981c 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
@@ -101,6 +101,13 @@ cr.define('settings', function() {
getExceptionList: function(contentType) {},
/**
+ * Gets the exception details for a particular site.
+ * @param {string} site The name of the site.
+ * @return {Promise<SiteException>}
+ */
+ getSiteDetails: function(site) {},
+
+ /**
* Resets the category permission for a given origin (expressed as primary
* and secondary patterns).
* @param {string} primaryPattern The origin to change (primary pattern).
@@ -265,6 +272,11 @@ cr.define('settings', function() {
},
/** @override */
+ getSiteDetails: function(site) {
+ return cr.sendWithPromise('getSiteDetails', site);
+ },
+
+ /** @override */
resetCategoryPermissionForOrigin: function(
primaryPattern, secondaryPattern, contentType, incognito) {
chrome.send('resetCategoryPermissionForOrigin',

Powered by Google App Engine
This is Rietveld 408576698