Skip to content

Commit

Permalink
Revert "Disable motion sensors by default (fixes brave/brave-browser#…
Browse files Browse the repository at this point in the history
…4789)"

This reverts commit 06f1f35.
  • Loading branch information
fmarier committed Sep 24, 2019
1 parent 3790211 commit a0ae429
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@
ContentSettingsInfo::INHERIT_IN_INCOGNITO, \
ContentSettingsInfo::PERSISTENT, \
ContentSettingsInfo::EXCEPTIONS_ON_SECURE_ORIGINS_ONLY); \
\
/* Disable motion sensors by default (brave/brave-browser#4789)*/ \
Register( \
CONTENT_SETTINGS_TYPE_SENSORS, "sensors", CONTENT_SETTING_BLOCK, \
WebsiteSettingsInfo::UNSYNCABLE, WhitelistedSchemes(), \
ValidSettings(CONTENT_SETTING_ALLOW, CONTENT_SETTING_BLOCK), \
WebsiteSettingsInfo::SINGLE_ORIGIN_ONLY_SCOPE, \
WebsiteSettingsRegistry::DESKTOP | \
WebsiteSettingsRegistry::PLATFORM_ANDROID, \
ContentSettingsInfo::INHERIT_IN_INCOGNITO, \
ContentSettingsInfo::PERSISTENT, \
ContentSettingsInfo::EXCEPTIONS_ON_SECURE_AND_INSECURE_ORIGINS); \
}

#include "../../../../../../components/content_settings/core/browser/content_settings_registry.cc"
Expand Down

0 comments on commit a0ae429

Please sign in to comment.