summaryrefslogtreecommitdiffstats
path: root/remoting/host/ipc_constants.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
commita3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch)
treebdd4dac76e6034ef6cf33450e203269a715ea0e6 /remoting/host/ipc_constants.cc
parent8bc574c57115e9ffd0169f33131c0865997dcb35 (diff)
downloadchromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.zip
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.gz
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.bz2
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
Diffstat (limited to 'remoting/host/ipc_constants.cc')
-rw-r--r--remoting/host/ipc_constants.cc13
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"));