sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-14 00:49:35 +00:00
parent 9d4d2e721a
commit 79bc6d9d97
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
846 changed files with 10693 additions and 8131 deletions

View file

@ -1,12 +1,12 @@
Index: remoting/host/chromoting_host.cc
--- remoting/host/chromoting_host.cc.orig
+++ remoting/host/chromoting_host.cc
@@ -132,7 +132,7 @@ void ChromotingHost::StartChromotingHostServices() {
@@ -128,7 +128,7 @@ void ChromotingHost::Start(const std::string& host_own
&ChromotingHost::OnIncomingSession, base::Unretained(this)));
}
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void ChromotingHost::StartChromotingHostServices() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK(!ipc_server_);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
named_mojo_ipc_server::EndpointOptions options;
options.server_name = GetChromotingHostServicesServerName();
#if BUILDFLAG(IS_WIN)