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 6f71249d2bedf1312b1f0316fded3f0dfeb03be0..eae8f3bd4487314f7a2c88612e61c8a1f001e84a 100644 |
--- a/components/content_settings/core/browser/content_settings_registry.cc |
+++ b/components/content_settings/core/browser/content_settings_registry.cc |
@@ -255,6 +255,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(), |