diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-15 13:09:27 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-15 13:09:27 +0000 |
commit | 58b7c5a6c3ecac1a9c6c5e7da032bd06c0863c91 (patch) | |
tree | 161a46e0522b42a333ee6e711fc84b25b6a316ca /base/file_util_unittest.cc | |
parent | 6b4fa88ebfd4779e1509317b7b09c56e8458f5d9 (diff) | |
download | chromium_src-58b7c5a6c3ecac1a9c6c5e7da032bd06c0863c91.zip chromium_src-58b7c5a6c3ecac1a9c6c5e7da032bd06c0863c91.tar.gz chromium_src-58b7c5a6c3ecac1a9c6c5e7da032bd06c0863c91.tar.bz2 |
base: Rename FileEnumerator::FILE_TYPE to FileEnumerator::FileType.
enum types should be named using CamelCase as class and function names,
not using MACRO_STYLE.
BUG=None
TEST=None
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7618037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_unittest.cc')
-rw-r--r-- | base/file_util_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc index c60a703..c44b804 100644 --- a/base/file_util_unittest.cc +++ b/base/file_util_unittest.cc @@ -112,8 +112,8 @@ bool DeleteReparsePoint(HANDLE source) { const wchar_t bogus_content[] = L"I'm cannon fodder."; -const file_util::FileEnumerator::FILE_TYPE FILES_AND_DIRECTORIES = - static_cast<file_util::FileEnumerator::FILE_TYPE>( +const file_util::FileEnumerator::FileType FILES_AND_DIRECTORIES = + static_cast<file_util::FileEnumerator::FileType>( file_util::FileEnumerator::FILES | file_util::FileEnumerator::DIRECTORIES); @@ -1611,7 +1611,7 @@ TEST_F(FileUtilTest, FileEnumeratorTest) { // Test an empty directory, non-recursively, including "..". file_util::FileEnumerator f0_dotdot(temp_dir_.path(), false, - static_cast<file_util::FileEnumerator::FILE_TYPE>( + static_cast<file_util::FileEnumerator::FileType>( FILES_AND_DIRECTORIES | file_util::FileEnumerator::INCLUDE_DOT_DOT)); EXPECT_EQ(temp_dir_.path().Append(FILE_PATH_LITERAL("..")).value(), f0_dotdot.Next().value()); @@ -1669,7 +1669,7 @@ TEST_F(FileUtilTest, FileEnumeratorTest) { // Only enumerate directories, non-recursively, including "..". file_util::FileEnumerator f2_dotdot( temp_dir_.path(), false, - static_cast<file_util::FileEnumerator::FILE_TYPE>( + static_cast<file_util::FileEnumerator::FileType>( file_util::FileEnumerator::DIRECTORIES | file_util::FileEnumerator::INCLUDE_DOT_DOT)); FindResultCollector c2_dotdot(f2_dotdot); |