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

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: Address feedback and add icons Created 4 years, 6 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..d874dda8cc436a1b54b8e5635fc7b5517ba3e56f 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.
+std::string ContentSettingsTypeToGroupName(ContentSettingsType type);
+
// Fills in |exceptions| with Values for the given |type| from |map|.
void GetExceptionsFromHostContentSettingsMap(
const HostContentSettingsMap* map,
« no previous file with comments | « chrome/browser/ui/webui/settings/site_settings_handler_unittest.cc ('k') | chrome/browser/ui/webui/site_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698