diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2019-03-27 22:28:00 -0600 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2019-03-27 22:28:00 -0600 |
commit | 3e0dadb346e64108113d6c763a12651b864bacde (patch) | |
tree | 49511a3f6ae41dc9bcd3178f6d65cf03309d0ac7 /patches/www-client/chromium-73.0.3683.75/device-notifications.patch | |
parent | 1931d6226d12382abfbff8bf5b91eda248f32b0b (diff) | |
download | gentoo.patches-3e0dadb346e64108113d6c763a12651b864bacde.tar.gz gentoo.patches-3e0dadb346e64108113d6c763a12651b864bacde.tar.xz |
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/device-notifications.patch')
-rw-r--r-- | patches/www-client/chromium-73.0.3683.75/device-notifications.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/device-notifications.patch b/patches/www-client/chromium-73.0.3683.75/device-notifications.patch new file mode 100644 index 0000000..d428e7e --- /dev/null +++ b/patches/www-client/chromium-73.0.3683.75/device-notifications.patch @@ -0,0 +1,16 @@ +description: disable device discovery notifications by default +author: Michael Gilbert <mgilbert@debian.org> +bug-debian: http://bugs.debian.org/856571 + +--- a/chrome/browser/printing/cloud_print/privet_notifications.cc ++++ b/chrome/browser/printing/cloud_print/privet_notifications.cc +@@ -229,8 +229,7 @@ void PrivetNotificationService::DeviceCa + // static + bool PrivetNotificationService::IsEnabled() { + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); +- return !command_line->HasSwitch( +- switches::kDisableDeviceDiscoveryNotifications); ++ return command_line->HasSwitch(switches::kEnableDeviceDiscoveryNotifications); + } + + // static |