Only Register() platform specific content settings types on different platforms
Content settings are not used on all platforms. Some content settings are only used on desktop platforms, or desktop and android. We shouldn't register these types on other platforms that aren't using them, so that we don't create unused prefs for them and more importantly so that we don't sync settings to these platforms which would go unused but be a potential privacy concern. In this CL, an enum WebsiteSettingsInfo::Platform is added and used when registering content settings to indicate which platform set it is applied to. BUG=604632 Review-Url: https://codereview.chromium.org/1991623005 Cr-Commit-Position: refs/heads/master@{#398174}
Showing
Please register or sign in to comment