summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/third-party-cookies.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2019-03-27 22:28:00 -0600
committerKenny Ballou <kballou@devnulllabs.io>2019-03-27 22:28:00 -0600
commit3e0dadb346e64108113d6c763a12651b864bacde (patch)
tree49511a3f6ae41dc9bcd3178f6d65cf03309d0ac7 /patches/www-client/chromium-73.0.3683.75/third-party-cookies.patch
parent1931d6226d12382abfbff8bf5b91eda248f32b0b (diff)
downloadgentoo.patches-3e0dadb346e64108113d6c763a12651b864bacde.tar.gz
gentoo.patches-3e0dadb346e64108113d6c763a12651b864bacde.tar.xz
Add debian disable patches for chromium-73HEADmaster
Add the set of patches from the debian project for disalbing certain features and configurations of chromium. Specifically, the `tracing.patch` seems to allow the package to compile. [0]: https://salsa.debian.org/chromium-team/chromium/tree/master/debian/patches/disable Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/third-party-cookies.patch')
-rw-r--r--patches/www-client/chromium-73.0.3683.75/third-party-cookies.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/third-party-cookies.patch b/patches/www-client/chromium-73.0.3683.75/third-party-cookies.patch
new file mode 100644
index 0000000..3092e7b
--- /dev/null
+++ b/patches/www-client/chromium-73.0.3683.75/third-party-cookies.patch
@@ -0,0 +1,14 @@
+description: disable third-party cookies by default
+author: Chad Miller <chad.miller@canonical.com>
+
+--- a/components/content_settings/core/browser/cookie_settings.cc
++++ b/components/content_settings/core/browser/cookie_settings.cc
+@@ -50,7 +50,7 @@ void CookieSettings::GetCookieSettings(
+ void CookieSettings::RegisterProfilePrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
+ registry->RegisterBooleanPref(
+- prefs::kBlockThirdPartyCookies, false,
++ prefs::kBlockThirdPartyCookies, true,
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
+ }
+