diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-11 15:38:27 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-11 15:38:27 +0000 |
commit | 6723f835ff0247e5bffad9e92d8d42a8c3ae1b3b (patch) | |
tree | 874b2b79287e69bd58ca6419c764ed26e2573829 /base/path_service_unittest.cc | |
parent | abfd15b40f52900239ec1fb443ade9eab11711f6 (diff) | |
download | chromium_src-6723f835ff0247e5bffad9e92d8d42a8c3ae1b3b.zip chromium_src-6723f835ff0247e5bffad9e92d8d42a8c3ae1b3b.tar.gz chromium_src-6723f835ff0247e5bffad9e92d8d42a8c3ae1b3b.tar.bz2 |
recursive_mutex
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/path_service_unittest.cc')
-rw-r--r-- | base/path_service_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/path_service_unittest.cc b/base/path_service_unittest.cc index b75ab7e..970ea0c 100644 --- a/base/path_service_unittest.cc +++ b/base/path_service_unittest.cc @@ -31,7 +31,9 @@ #include "base/file_util.h" #include "base/logging.h" #include "base/path_service.h" +#if defined(OS_WIN) #include "base/win_util.h" +#endif #include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest-spi.h" @@ -45,12 +47,14 @@ bool ReturnsValidPath(int dir_type) { return result && !path.empty() && file_util::PathExists(path); } +#if defined(OS_WIN) // Function to test DIR_LOCAL_APP_DATA_LOW on Windows XP. Make sure it fails. bool ReturnsInvalidPath(int dir_type) { std::wstring path; bool result = PathService::Get(base::DIR_LOCAL_APP_DATA_LOW, &path); return !result && path.empty(); } +#endif } // namespace |