blob: 5357b3394a2d2381325b6998dbb03be2d3159f6d [file] [log] [blame]
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_HOST_IPC_CONSTANTS_H_
#define REMOTING_HOST_IPC_CONSTANTS_H_
#include <stdint.h>
#include "base/files/file_path.h"
#include "build/buildflag.h"
#include "mojo/public/cpp/platform/named_platform_channel.h"
namespace remoting {
// Name of the host process binary.
extern const base::FilePath::CharType kHostBinaryName[];
// Name of the desktop process binary.
extern const base::FilePath::CharType kDesktopBinaryName[];
// Message pipe ID used for ChromotingHostServices.
extern const uint64_t kChromotingHostServicesMessagePipeId;
// Returns the full path to an installed |binary| in |full_path|.
bool GetInstalledBinaryPath(const base::FilePath::StringType& binary,
base::FilePath* full_path);
// Returns the server name for chromoting host services.
const mojo::NamedPlatformChannel::ServerName&
GetChromotingHostServicesServerName();
#if BUILDFLAG(IS_MAC)
// Message pipe ID used for AgentProcessBroker.
extern const char kAgentProcessBrokerMessagePipeId[];
// Returns the server name for AgentProcessBroker.
const mojo::NamedPlatformChannel::ServerName& GetAgentProcessBrokerServerName();
#endif
} // namespace remoting
#endif // REMOTING_HOST_IPC_CONSTANTS_H_