1 --- src/3rdparty/chromium/chrome/common/pref_names.h.orig	2025-08-15 18:30:00 UTC
2 +++ src/3rdparty/chromium/chrome/common/pref_names.h
3 @@ -1340,7 +1340,7 @@ inline constexpr char kUseAshProxy[] = "lacros.proxy.u
4 
5  // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
6  // of lacros-chrome is complete.
7 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
8 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
9  // Linux specific preference on whether we should match the system theme.
10  inline constexpr char kSystemTheme[] = "extensions.theme.system_theme";
11  #endif
12 @@ -1517,7 +1517,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] =
13      "browser.show_update_promotion_info_bar";
14  #endif
15 
16 -#if BUILDFLAG(IS_LINUX)
17 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
18  // Boolean that is false if we should show window manager decorations.  If
19  // true, we draw a custom chrome frame (thicker title bar and blue border).
20  inline constexpr char kUseCustomChromeFrame[] = "browser.custom_chrome_frame";
21 @@ -2135,7 +2135,7 @@ inline constexpr char kDownloadDirUpgraded[] = "downlo
22  inline constexpr char kDownloadDirUpgraded[] = "download.directory_upgrade";
23 
24  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
25 -    BUILDFLAG(IS_MAC)
26 +    BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
27  inline constexpr char kOpenPdfDownloadInSystemReader[] =
28      "download.open_pdf_in_system_reader";
29  #endif
30 @@ -2630,14 +2630,14 @@ inline constexpr char kMediaCdmOriginData[] = "media.c
31  inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data";
32  #endif  // BUILDFLAG(IS_WIN)
33 
34 -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
35 +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
36  // A boolean pref to determine whether or not the network service is running
37  // sandboxed.
38  inline constexpr char kNetworkServiceSandboxEnabled[] =
39      "net.network_service_sandbox";
40  #endif  // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
41 
42 -#if BUILDFLAG(IS_LINUX)
43 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
44  // Records whether the user has seen an HTTP auth "negotiate" header.
45  inline constexpr char kReceivedHttpAuthNegotiateHeader[] =
46      "net.received_http_auth_negotiate_headers";
47 @@ -2729,7 +2729,7 @@ inline constexpr char kIsolatedWebAppPendingInitializa
48  inline constexpr char kIsolatedWebAppPendingInitializationCount[] =
49      "profile.isolated_web_app.install.pending_initialization_count";
50 
51 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
52 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
53  // Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
54  // along with kAuthNegotiateDelegateAllowlist.
55  inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] =
56 @@ -3253,7 +3253,7 @@ inline constexpr char kDeviceWeeklyScheduledSuspend[]
57  #endif  // BUILDFLAG(IS_CHROMEOS)
58 
59  #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
60 -    BUILDFLAG(IS_ANDROID)
61 +    BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
62  // Defines administrator-set availability of Chrome for Testing.
63  inline constexpr char kChromeForTestingAllowed[] = "chrome_for_testing.allowed";
64  #endif
65 @@ -3845,7 +3845,7 @@ inline constexpr char kSandboxExternalProtocolBlocked[
66  inline constexpr char kSandboxExternalProtocolBlocked[] =
67      "profile.sandbox_external_protocol_blocked";
68 
69 -#if BUILDFLAG(IS_LINUX)
70 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
71  // Boolean that indicates if system notifications are allowed to be used in
72  // place of Chrome notifications.
73  inline constexpr char kAllowSystemNotifications[] =
74 @@ -4041,7 +4041,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] =
75      "policy.lens_desktop_ntp_search_enabled";
76  #endif
77 
78 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
79 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
80  // A dict mapping the edition name with the major version it was shown.
81  inline constexpr char kWhatsNewEditionUsed[] = "browser.whats_new.edition_used";
82  // A list containing the features of each module in order of when they
83 @@ -4135,7 +4135,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ
84      "printing.oauth2_authorization_servers";
85  #endif
86 
87 -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
88 +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
89  // If this exists and is true, Chrome may run system DNS resolution out of the
90  // network process. If false, Chrome will run system DNS resolution in the
91  // network process. If non-existent, Chrome will decide where to run system DNS
92