| Index: components/content_settings/core/common/pref_names.cc
|
| diff --git a/components/content_settings/core/common/pref_names.cc b/components/content_settings/core/common/pref_names.cc
|
| index ef9b66cb12f7458568c84fa0bbfb4a25cdc8c932..d795abb0a2c736bb774aa2d7eb34ba79c9e7dd6f 100644
|
| --- a/components/content_settings/core/common/pref_names.cc
|
| +++ b/components/content_settings/core/common/pref_names.cc
|
| @@ -28,6 +28,63 @@ const char kDefaultContentSettings[] = "profile.default_content_settings";
|
| // If a value is not set, it means the setting is allowed.
|
| const char kOverrideContentSettings[] = "profile.override_content_settings";
|
|
|
| +// Preferences storing the content settings exceptions.
|
| +const char kContentSettingsCookiesPatternPairs[] =
|
| + "profile.content_settings.exceptions.cookies";
|
| +const char kContentSettingsImagesPatternPairs[] =
|
| + "profile.content_settings.exceptions.images";
|
| +const char kContentSettingsJavaScriptPatternPairs[] =
|
| + "profile.content_settings.exceptions.javascript";
|
| +const char kContentSettingsPluginsPatternPairs[] =
|
| + "profile.content_settings.exceptions.plugins";
|
| +const char kContentSettingsPopupsPatternPairs[] =
|
| + "profile.content_settings.exceptions.popups";
|
| +const char kContentSettingsGeolocationPatternPairs[] =
|
| + "profile.content_settings.exceptions.geolocation";
|
| +const char kContentSettingsNotificationsPatternPairs[] =
|
| + "profile.content_settings.exceptions.notifications";
|
| +const char kContentSettingsAutoSelectCertificatePatternPairs[] =
|
| + "profile.content_settings.exceptions.auto_select_certificate";
|
| +const char kContentSettingsFullScreenPatternPairs[] =
|
| + "profile.content_settings.exceptions.fullscreen";
|
| +const char kContentSettingsMouseLockPatternPairs[] =
|
| + "profile.content_settings.exceptions.mouselock";
|
| +const char kContentSettingsMixedScriptPatternPairs[] =
|
| + "profile.content_settings.exceptions.mixed_script";
|
| +const char kContentSettingsMediaStreamPatternPairs[] =
|
| + "profile.content_settings.exceptions.media_stream";
|
| +const char kContentSettingsMediaStreamMicPatternPairs[] =
|
| + "profile.content_settings.exceptions.media_stream_mic";
|
| +const char kContentSettingsMediaStreamCameraPatternPairs[] =
|
| + "profile.content_settings.exceptions.media_stream_camera";
|
| +const char kContentSettingsProtocolHandlersPatternPairs[] =
|
| + "profile.content_settings.exceptions.protocol_handlers";
|
| +const char kContentSettingsPpapiBrokerPatternPairs[] =
|
| + "profile.content_settings.exceptions.ppapi_broker";
|
| +const char kContentSettingsAutomaticDownloadsPatternPairs[] =
|
| + "profile.content_settings.exceptions.automatic_downloads";
|
| +const char kContentSettingsMidiSysexPatternPairs[] =
|
| + "profile.content_settings.exceptions.midi_sysex";
|
| +const char kContentSettingsPushMessagingPatternPairs[] =
|
| + "profile.content_settings.exceptions.push_messaging";
|
| +const char kContentSettingsSSLCertDecisionsPatternPairs[] =
|
| + "profile.content_settings.exceptions.ssl_cert_decisions";
|
| +#if defined(OS_WIN)
|
| +const char kContentSettingsMetroSwitchToDesktopPatternPairs[] =
|
| + "profile.content_settings.exceptions.metro_switch_to_desktop";
|
| +#elif defined(OS_ANDROID) || defined(OS_CHROMEOS)
|
| +const char kContentSettingsProtectedMediaIdentifierPatternPairs[] =
|
| + "profile.content_settings.exceptions.protected_media_identifier";
|
| +#endif
|
| +const char kContentSettingsAppBannerPatternPairs[] =
|
| + "profile.content_settings.exceptions.app_banner";
|
| +
|
| +// Whether the patern pairs have been migrated from the deprecated aggregate
|
| +// preference |kContentSettingsPatternPairs| to the separate preferences
|
| +// |kContentSettings<type>PatternPairs|.
|
| +const char kContentSettingsPatternPairsMigrated[] =
|
| + "profile.content_settings_exceptions_migrated";
|
| +
|
| // Preferences that are exclusively used to store managed values for default
|
| // content settings.
|
| const char kManagedDefaultCookiesSetting[] =
|
|
|