device-notifications.patch 670 B

12345678910111213141516
  1. description: disable device discovery notifications by default
  2. author: Michael Gilbert <mgilbert@debian.org>
  3. bug-debian: http://bugs.debian.org/856571
  4. --- a/chrome/browser/printing/cloud_print/privet_notifications.cc
  5. +++ b/chrome/browser/printing/cloud_print/privet_notifications.cc
  6. @@ -209,8 +209,7 @@ void PrivetNotificationService::DeviceCa
  7. // static
  8. bool PrivetNotificationService::IsEnabled() {
  9. base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
  10. - return !command_line->HasSwitch(
  11. - switches::kDisableDeviceDiscoveryNotifications);
  12. + return command_line->HasSwitch(switches::kEnableDeviceDiscoveryNotifications);
  13. }
  14. // static