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

Unified Diff: chrome/browser/ui/webui/site_settings_helper.h

Issue 2338163004: [MD settings] add getSiteDetails to site settings browser proxy (Closed)
Patch Set: added comment 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/ui/webui/site_settings_helper.h
diff --git a/chrome/browser/ui/webui/site_settings_helper.h b/chrome/browser/ui/webui/site_settings_helper.h
index 3076f9ece05cf52bf19746131057bd8fd8154ffe..4f3f29ddf525d0e42846416ecec700686f2306de 100644
--- a/chrome/browser/ui/webui/site_settings_helper.h
+++ b/chrome/browser/ui/webui/site_settings_helper.h
@@ -7,6 +7,8 @@
#include <map>
#include <memory>
+#include <string>
+#include <utility>
#include <vector>
#include "components/content_settings/core/common/content_settings.h"
@@ -54,11 +56,14 @@ ContentSettingsType ContentSettingsTypeFromGroupName(const std::string& name);
std::string ContentSettingsTypeToGroupName(ContentSettingsType type);
// Fills in |exceptions| with Values for the given |type| from |map|.
+// If |filter| is not null then only exceptions with matching primary patterns
+// will be returned.
void GetExceptionsFromHostContentSettingsMap(
const HostContentSettingsMap* map,
ContentSettingsType type,
content::WebUI* web_ui,
bool incognito,
+ const std::string* filter,
base::ListValue* exceptions);
// Returns exceptions constructed from the policy-set allowed URLs

Powered by Google App Engine
This is Rietveld 408576698