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

Unified Diff: components/content_settings/core/common/content_settings.h

Issue 1865803002: [Policy Experimental] Add policies to allow Cookies and Pop-ups exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync; compile fix in PolicyProvider::GetUserExceptionsUsageSettingForType(). Created 4 years, 8 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: components/content_settings/core/common/content_settings.h
diff --git a/components/content_settings/core/common/content_settings.h b/components/content_settings/core/common/content_settings.h
index 24506fa6fb104855b23d6960131b2e44d870f738..2e03bae5cfe0469354af8bcd948e027995986f2c 100644
--- a/components/content_settings/core/common/content_settings.h
+++ b/components/content_settings/core/common/content_settings.h
@@ -28,6 +28,11 @@ enum ContentSetting {
CONTENT_SETTING_NUM_SETTINGS
};
+enum ContentSettingsUserExceptionsUsage {
+ USER_EXCEPTIONS_DEFAULT = 137, // DO NOT SUBMIT(huangs): Make this 0.
+ USER_EXCEPTIONS_ALLOW,
+};
+
// Range-checked conversion of an int to a ContentSetting, for use when reading
// prefs off disk.
ContentSetting IntToContentSetting(int content_setting);

Powered by Google App Engine
This is Rietveld 408576698