23 lines
1 KiB
Diff
23 lines
1 KiB
Diff
From: Daniel Micay <danielmicay@gmail.com>
|
|
Date: Sun, 16 Jun 2019 21:57:26 -0400
|
|
Subject: disable background sync by default
|
|
|
|
---
|
|
.../content_settings/core/browser/content_settings_registry.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
|
|
--- a/components/content_settings/core/browser/content_settings_registry.cc
|
|
+++ b/components/content_settings/core/browser/content_settings_registry.cc
|
|
@@ -313,7 +313,7 @@ void ContentSettingsRegistry::Init() {
|
|
ContentSettingsInfo::EXCEPTIONS_ON_SECURE_ORIGINS_ONLY);
|
|
|
|
Register(ContentSettingsType::BACKGROUND_SYNC, "background-sync",
|
|
- CONTENT_SETTING_ALLOW, WebsiteSettingsInfo::UNSYNCABLE,
|
|
+ CONTENT_SETTING_BLOCK, WebsiteSettingsInfo::UNSYNCABLE,
|
|
AllowlistedSchemes(),
|
|
ValidSettings(CONTENT_SETTING_ALLOW, CONTENT_SETTING_BLOCK),
|
|
WebsiteSettingsInfo::SINGLE_ORIGIN_ONLY_SCOPE,
|
|
--
|
|
2.17.1
|
|
|