summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/device-notifications.patch
blob: d428e7e519f4ae3bce04a88fe396d43f2675fecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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