aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-remoting_host_chromoting__host__services__client.cc
blob: 18c13a723b7cd1240402103180687f0f9a20bab7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                                                       
                                                    
                                             
 
                
 





                                                                          


                                             

                                             


                                                                     
--- remoting/host/chromoting_host_services_client.cc.orig	2022-02-28 16:54:41 UTC
+++ remoting/host/chromoting_host_services_client.cc
@@ -28,7 +28,7 @@ bool g_initialized = false;
 
 }  // namespace
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 
 // static
 constexpr char
@@ -112,7 +112,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic
   if (session_services_remote_.is_bound()) {
     return true;
   }
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   if (!environment_->HasVar(kChromeRemoteDesktopSessionEnvVar)) {
     LOG(WARNING) << "Current desktop environment is not remotable.";
     return false;