aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-chrome_browser_send__tab__to__self_send__tab__to__self__client__service.cc
blob: 2e99aa0f1f6432f3ee5a423ea096729783d481ba (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                                                       
                                                                      
                 

                                                                


                                                                            

                                                                                         
 
                                                                        

                                                                             


                                                                            

                                                                             
                                                                              
--- chrome/browser/send_tab_to_self/send_tab_to_self_client_service.cc.orig	2024-03-22 08:19:40 UTC
+++ chrome/browser/send_tab_to_self/send_tab_to_self_client_service.cc
@@ -16,7 +16,7 @@
 #include "components/send_tab_to_self/send_tab_to_self_model.h"
 
 #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-    BUILDFLAG(IS_WIN)
+    BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
 #include "chrome/browser/ui/send_tab_to_self/send_tab_to_self_toolbar_icon_controller.h"
 #endif
 
@@ -50,7 +50,7 @@ void SendTabToSelfClientService::EntriesAddedRemotely(
     const std::vector<const SendTabToSelfEntry*>& new_entries) {
   for (const std::unique_ptr<ReceivingUiHandler>& handler : GetHandlers()) {
 #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-    BUILDFLAG(IS_WIN)
+    BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
     // Only respond to notifications corresponding to this service's profile
     // for these OSes; mobile does not have a Profile.
     // Cast note: on desktop, handlers are guaranteed to be the derived class