From a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sat, 2 Feb 2013 05:12:33 +0000 Subject: Add FilePath to base namespace. This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/ipc_constants.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'remoting/host/ipc_constants.cc') 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")); -- cgit v1.1