#include "components/named_mojo_ipc_server/named_mojo_ipc_server_client_util.h"
#include "base/notreached.h"
#include "mojo/public/cpp/platform/named_platform_channel.h"
#if BUILDFLAG(IS_MAC)
#include <mach/kern_return.h>
#include <mach/mach.h>
#include <mach/message.h>
#include "base/apple/mach_logging.h"
#include "mojo/public/cpp/platform/platform_channel.h"
#include "mojo/public/cpp/platform/platform_channel_endpoint.h"
#endif
namespace named_mojo_ipc_server {
mojo::PlatformChannelEndpoint ConnectToServer(
const mojo::NamedPlatformChannel::ServerName& server_name) { … }
}