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

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

Issue 2021343003: MD Site Settings: Add five new top level categories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 34c300d91d096446590e5b4aac89f567bc9f4b7c..4b725f8fdcdbd10dad27e8c2f5289f991e47957d 100644
--- a/chrome/browser/ui/webui/site_settings_helper.h
+++ b/chrome/browser/ui/webui/site_settings_helper.h
@@ -39,6 +39,12 @@ extern const char kSource[];
extern const char kEmbeddingOrigin[];
extern const char kPreferencesSource[];
+// Gets a content settings type from the group name identifier.
+ContentSettingsType ContentSettingsTypeFromGroupName(const std::string& name);
+
+// Gets a string identifier for the group name, for use in HTML.
+std::string ContentSettingsTypeToGroupName(ContentSettingsType type);
+
// Fills in |exceptions| with Values for the given |type| from |map|.
void GetExceptionsFromHostContentSettingsMap(
const HostContentSettingsMap* map,

Powered by Google App Engine
This is Rietveld 408576698