disable-background-sync-by-default.patch 1.0 KB

1234567891011121314151617181920212223
  1. From: Daniel Micay <danielmicay@gmail.com>
  2. Date: Sun, 16 Jun 2019 21:57:26 -0400
  3. Subject: disable background sync by default
  4. ---
  5. .../content_settings/core/browser/content_settings_registry.cc | 2 +-
  6. 1 file changed, 1 insertion(+), 1 deletion(-)
  7. diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
  8. --- a/components/content_settings/core/browser/content_settings_registry.cc
  9. +++ b/components/content_settings/core/browser/content_settings_registry.cc
  10. @@ -308,7 +308,7 @@ void ContentSettingsRegistry::Init() {
  11. ContentSettingsInfo::EXCEPTIONS_ON_SECURE_ORIGINS_ONLY);
  12. Register(ContentSettingsType::BACKGROUND_SYNC, "background-sync",
  13. - CONTENT_SETTING_ALLOW, WebsiteSettingsInfo::UNSYNCABLE,
  14. + CONTENT_SETTING_BLOCK, WebsiteSettingsInfo::UNSYNCABLE,
  15. WhitelistedSchemes(),
  16. ValidSettings(CONTENT_SETTING_ALLOW, CONTENT_SETTING_BLOCK),
  17. WebsiteSettingsInfo::SINGLE_ORIGIN_ONLY_SCOPE,
  18. --
  19. 2.17.1