diff options
Diffstat (limited to 'remoting/host/ipc_constants.cc')
-rw-r--r-- | remoting/host/ipc_constants.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/remoting/host/ipc_constants.cc b/remoting/host/ipc_constants.cc index 36d4bea..9aac903 100644 --- a/remoting/host/ipc_constants.cc +++ b/remoting/host/ipc_constants.cc @@ -12,20 +12,21 @@ namespace remoting { const char kDaemonPipeSwitchName[] = "daemon-pipe"; -const FilePath::CharType kDaemonBinaryName[] = +const base::FilePath::CharType kDaemonBinaryName[] = FILE_PATH_LITERAL("remoting_daemon"); -const FilePath::CharType kHostBinaryName[] = FILE_PATH_LITERAL("remoting_host"); +const base::FilePath::CharType kHostBinaryName[] = + FILE_PATH_LITERAL("remoting_host"); -bool GetInstalledBinaryPath(const FilePath::StringType& binary, - FilePath* full_path) { - FilePath dir_path; +bool GetInstalledBinaryPath(const base::FilePath::StringType& binary, + base::FilePath* full_path) { + base::FilePath dir_path; if (!PathService::Get(base::DIR_EXE, &dir_path)) { LOG(ERROR) << "Failed to get the executable file name."; return false; } - FilePath path = dir_path.Append(binary); + base::FilePath path = dir_path.Append(binary); #if defined(OS_WIN) path = path.ReplaceExtension(FILE_PATH_LITERAL("exe")); |