1 --- chrome/browser/chrome_browser_interface_binders.cc.orig	2022-08-31 12:19:35 UTC
2 +++ chrome/browser/chrome_browser_interface_binders.cc
3 @@ -112,13 +112,13 @@
4  #endif  // BUILDFLAG(FULL_SAFE_BROWSING)
5 
6  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
7 -    BUILDFLAG(IS_CHROMEOS_ASH)
8 +    BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
9  #include "chrome/browser/ui/webui/connectors_internals/connectors_internals.mojom.h"
10  #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h"
11  #endif
12 
13  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
14 -    BUILDFLAG(IS_FUCHSIA)
15 +    BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
16  #include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h"
17  #include "ui/webui/resources/cr_components/app_management/app_management.mojom.h"
18  #endif
19 @@ -184,7 +184,7 @@
20  #endif  // BUILDFLAG(IS_ANDROID)
21 
22  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
23 -    BUILDFLAG(IS_CHROMEOS)
24 +    BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
25  #include "chrome/browser/ui/webui/discards/discards.mojom.h"
26  #include "chrome/browser/ui/webui/discards/discards_ui.h"
27  #include "chrome/browser/ui/webui/discards/site_data.mojom.h"
28 @@ -766,7 +766,7 @@ void PopulateChromeFrameBinders(
29  #endif  // BUILDFLAG(ENABLE_SPEECH_SERVICE)
30 
31  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
32 -    BUILDFLAG(IS_CHROMEOS)
33 +    BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
34    if (!render_frame_host->GetParent()) {
35      map->Add<chrome::mojom::DraggableRegions>(
36          base::BindRepeating(&DraggableRegionsHostImpl::CreateIfAllowed));
37 @@ -774,7 +774,7 @@ void PopulateChromeFrameBinders(
38  #endif
39 
40  #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
41 -    BUILDFLAG(IS_WIN)
42 +    BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
43    if (base::FeatureList::IsEnabled(blink::features::kDesktopPWAsSubApps) &&
44        render_frame_host->IsInPrimaryMainFrame()) {
45      map->Add<blink::mojom::SubAppsService>(
46 @@ -829,14 +829,14 @@ void PopulateChromeWebUIFrameBinders(
47        SegmentationInternalsUI>(map);
48 
49  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
50 -    BUILDFLAG(IS_CHROMEOS_ASH)
51 +    BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
52    RegisterWebUIControllerInterfaceBinder<
53        connectors_internals::mojom::PageHandler,
54        enterprise_connectors::ConnectorsInternalsUI>(map);
55  #endif
56 
57  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
58 -    BUILDFLAG(IS_FUCHSIA)
59 +    BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
60    RegisterWebUIControllerInterfaceBinder<
61        app_management::mojom::PageHandlerFactory, WebAppSettingsUI>(map);
62  #endif
63 @@ -1196,7 +1196,7 @@ void PopulateChromeWebUIFrameBinders(
64  #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
65 
66  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
67 -    BUILDFLAG(IS_CHROMEOS)
68 +    BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
69    RegisterWebUIControllerInterfaceBinder<discards::mojom::DetailsProvider,
70                                           DiscardsUI>(map);
71 
72