ipc_constants.h 965 B

1234567891011121314151617181920212223242526272829
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef REMOTING_HOST_IPC_CONSTANTS_H_
  5. #define REMOTING_HOST_IPC_CONSTANTS_H_
  6. #include "base/files/file_path.h"
  7. #include "mojo/public/cpp/platform/named_platform_channel.h"
  8. namespace remoting {
  9. // Name of the host process binary.
  10. extern const base::FilePath::CharType kHostBinaryName[];
  11. // Name of the desktop process binary.
  12. extern const base::FilePath::CharType kDesktopBinaryName[];
  13. // Returns the full path to an installed |binary| in |full_path|.
  14. bool GetInstalledBinaryPath(const base::FilePath::StringType& binary,
  15. base::FilePath* full_path);
  16. // Returns the server name for chromoting host services.
  17. const mojo::NamedPlatformChannel::ServerName&
  18. GetChromotingHostServicesServerName();
  19. } // namespace remoting
  20. #endif // REMOTING_HOST_IPC_CONSTANTS_H_