blob: 998b25bb6f070e5b82be0c8454ecaeb0ab3c027a [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/enterprise_companion/enterprise_companion_client.h"
namespace enterprise_companion {
mojo::NamedPlatformChannel::ServerName GetServerName() {
#if BUILDFLAG(IS_MAC)
return "org.chromium.ChromeEnterpriseCompanion.service";
#elif BUILDFLAG(IS_LINUX)
return "/run/Chromium/ChromeEnterpriseCompanion/service.sk";
#elif BUILDFLAG(IS_WIN)
return L"ChromeEnterpriseCompanionService";
#endif
}
} // namespace enterprise_companion