summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_posix_unittest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-10 04:49:30 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-10 04:49:30 +0000
commit6d4b67a4b50d73d5001aec99014ac40bc504871a (patch)
tree4f85ee41ed1fad3dc68381e0fe4f23dbeecf1364 /ipc/ipc_channel_posix_unittest.cc
parent650b2d5cdcab7d2c473c00d15b9f343f3a3405bb (diff)
downloadchromium_src-6d4b67a4b50d73d5001aec99014ac40bc504871a.zip
chromium_src-6d4b67a4b50d73d5001aec99014ac40bc504871a.tar.gz
chromium_src-6d4b67a4b50d73d5001aec99014ac40bc504871a.tar.bz2
Rename FilePath -> base::FilePath in various toplevel directories
Review URL: https://codereview.chromium.org/12211108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_posix_unittest.cc')
-rw-r--r--ipc/ipc_channel_posix_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_channel_posix_unittest.cc b/ipc/ipc_channel_posix_unittest.cc
index 56549f1..cdf54da 100644
--- a/ipc/ipc_channel_posix_unittest.cc
+++ b/ipc/ipc_channel_posix_unittest.cc
@@ -110,7 +110,7 @@ private:
const std::string IPCChannelPosixTest::GetChannelDirName() {
#if defined(OS_ANDROID)
- FilePath tmp_dir;
+ base::FilePath tmp_dir;
PathService::Get(base::DIR_CACHE, &tmp_dir);
return tmp_dir.value();
#else
@@ -155,8 +155,8 @@ void IPCChannelPosixTest::SetUpSocket(IPC::ChannelHandle *handle,
// Only one server at a time. Cleanup garbage if it exists.
unlink(name.c_str());
// Make sure the path we need exists.
- FilePath path(name);
- FilePath dir_path = path.DirName();
+ base::FilePath path(name);
+ base::FilePath dir_path = path.DirName();
ASSERT_TRUE(file_util::CreateDirectory(dir_path));
ASSERT_GE(bind(socket_fd,
reinterpret_cast<struct sockaddr *>(&server_address),
@@ -377,7 +377,7 @@ TEST_F(IPCChannelPosixTest, IsNamedServerInitialized) {
const std::string& connection_socket_name = GetConnectionSocketName();
IPCChannelPosixTestListener listener(false);
IPC::ChannelHandle chan_handle(connection_socket_name);
- ASSERT_TRUE(file_util::Delete(FilePath(connection_socket_name), false));
+ ASSERT_TRUE(file_util::Delete(base::FilePath(connection_socket_name), false));
ASSERT_FALSE(IPC::Channel::IsNamedServerInitialized(
connection_socket_name));
IPC::Channel channel(chan_handle, IPC::Channel::MODE_NAMED_SERVER, &listener);