Index: components/content_settings/core/browser/content_settings_registry.cc |
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc |
index b147dca2b925e507393ea28c0bb3a7d86cfba8e2..ae1e54d5572ee7186df28588dd3690f67b1d6241 100644 |
--- a/components/content_settings/core/browser/content_settings_registry.cc |
+++ b/components/content_settings/core/browser/content_settings_registry.cc |
@@ -237,6 +237,15 @@ void ContentSettingsRegistry::Init() { |
WebsiteSettingsRegistry::PLATFORM_ANDROID, |
ContentSettingsInfo::INHERIT_IN_INCOGNITO); |
+ Register(CONTENT_SETTINGS_TYPE_SENSORS, "sensors", CONTENT_SETTING_ASK, |
+ WebsiteSettingsInfo::SYNCABLE, WhitelistedSchemes(), |
+ ValidSettings(CONTENT_SETTING_ALLOW, CONTENT_SETTING_BLOCK, |
+ CONTENT_SETTING_ASK), |
+ WebsiteSettingsInfo::REQUESTING_ORIGIN_AND_TOP_LEVEL_ORIGIN_SCOPE, |
+ WebsiteSettingsRegistry::DESKTOP | |
+ WebsiteSettingsRegistry::PLATFORM_ANDROID, |
+ ContentSettingsInfo::INHERIT_IN_INCOGNITO); |
+ |
Register(CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER, |
"protected-media-identifier", CONTENT_SETTING_ASK, |
WebsiteSettingsInfo::UNSYNCABLE, WhitelistedSchemes(), |