Index: chrome/browser/ui/views/data_sharing/collaboration_controller_delegate_desktop.h
--- chrome/browser/ui/views/data_sharing/collaboration_controller_delegate_desktop.h.orig
+++ chrome/browser/ui/views/data_sharing/collaboration_controller_delegate_desktop.h
@@ -83,7 +83,7 @@ class CollaborationControllerDelegateDesktop
       std::optional<data_sharing::mojom::GroupActionProgress> progress);
 
   void ShowErrorDialog(const ErrorInfo& error);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   void MaybeShowSignInUiForHistorySyncOptin();
 #endif
   void MaybeShowSignInAndSyncUi();
