summaryrefslogtreecommitdiffstats
path: root/chrome/common/content_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/content_settings.h')
-rw-r--r--chrome/common/content_settings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/content_settings.h b/chrome/common/content_settings.h
index 63af52e..b077be2 100644
--- a/chrome/common/content_settings.h
+++ b/chrome/common/content_settings.h
@@ -17,6 +17,10 @@ enum ContentSetting {
CONTENT_SETTING_NUM_SETTINGS
};
+// Range-checked conversion of an int to a ContentSetting, for use when reading
+// prefs off disk.
+ContentSetting IntToContentSetting(int content_setting);
+
// Aggregates the permissions for the different content types.
struct ContentSettings {
ContentSettings() {