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

Unified Diff: chrome/common/content_settings.h

Issue 1084005: Add GeolocationContentSettingsMap, a geolocation-specific variant of HostCont... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/common/content_settings.h
===================================================================
--- chrome/common/content_settings.h (revision 41987)
+++ chrome/common/content_settings.h (working copy)
@@ -17,6 +17,10 @@
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() {

Powered by Google App Engine
This is Rietveld 408576698