1 --- chrome/browser/printing/print_backend_service_manager.cc.orig	2022-06-17 14:20:10 UTC
2 +++ chrome/browser/printing/print_backend_service_manager.cc
3 @@ -481,7 +481,7 @@ absl::optional<uint32_t> PrintBackendServiceManager::R
4        query_clients_.insert(client_id);
5        break;
6      case ClientType::kQueryWithUi:
7 -#if !BUILDFLAG(IS_LINUX)
8 +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
9        if (!query_with_ui_clients_.empty())
10          return absl::nullopt;
11  #endif
12 @@ -706,7 +706,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate
13        break;
14 
15      case ClientType::kQueryWithUi:
16 -#if BUILDFLAG(IS_LINUX)
17 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
18        // No need to update if there were other query with UI clients.
19        if (query_with_ui_clients_.size() > 1)
20          return absl::nullopt;
21 @@ -763,7 +763,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate
22        return kNoClientsRegisteredResetOnIdleTimeout;
23 
24      case ClientType::kQueryWithUi:
25 -#if BUILDFLAG(IS_LINUX)
26 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
27        // No need to update if there were other query with UI clients.
28        if (!query_with_ui_clients_.empty())
29          return absl::nullopt;
30