diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 07:06:40 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-20 07:06:40 +0000 |
commit | 6f5418ba7f128c0e1d0c89f8b647bb68400e9b22 (patch) | |
tree | ff9018511a59185f874ac203578b69944508e7bf /base/file_util_unittest.cc | |
parent | f49e5960d8d2a0476841615a7a6d36137a0c399e (diff) | |
download | chromium_src-6f5418ba7f128c0e1d0c89f8b647bb68400e9b22.zip chromium_src-6f5418ba7f128c0e1d0c89f8b647bb68400e9b22.tar.gz chromium_src-6f5418ba7f128c0e1d0c89f8b647bb68400e9b22.tar.bz2 |
Make the shmem-specific functions in file_util.h POSIX-only.
They're only used on POSIX. (This is an initial move/removal; more to
come.)
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/204683002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_unittest.cc')
-rw-r--r-- | base/file_util_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc index 8ee55ff..4bdd90f 100644 --- a/base/file_util_unittest.cc +++ b/base/file_util_unittest.cc @@ -1691,11 +1691,13 @@ TEST_F(FileUtilTest, CreateNewTemporaryDirInDirTest) { EXPECT_TRUE(DeleteFile(new_dir, false)); } +#if defined(OS_POSIX) TEST_F(FileUtilTest, GetShmemTempDirTest) { FilePath dir; EXPECT_TRUE(GetShmemTempDir(false, &dir)); EXPECT_TRUE(DirectoryExists(dir)); } +#endif TEST_F(FileUtilTest, GetHomeDirTest) { #if !defined(OS_ANDROID) // Not implemented on Android. |