blob: 8e52f1fcd588089ca747cb0c893cd13200d1c1a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- remoting/host/chromoting_host_services_client.cc.orig 2023-10-19 19:58:29 UTC
+++ remoting/host/chromoting_host_services_client.cc
@@ -59,7 +59,7 @@ mojo::PendingRemote<mojom::ChromotingHostServices> Con
} // namespace
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// static
constexpr char
@@ -136,7 +136,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;
|