Chromium Code Reviews| 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. |
|
michaelpg
2016/06/02 12:58:31
", for use in HTML" => ""
Finnur
2016/06/02 17:31:36
Done.
|
| +std::string ContentSettingsTypeToGroupName(ContentSettingsType type); |
| + |
| // Fills in |exceptions| with Values for the given |type| from |map|. |
| void GetExceptionsFromHostContentSettingsMap( |
| const HostContentSettingsMap* map, |