summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-15 13:09:27 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-15 13:09:27 +0000
commit58b7c5a6c3ecac1a9c6c5e7da032bd06c0863c91 (patch)
tree161a46e0522b42a333ee6e711fc84b25b6a316ca /base/file_util.h
parent6b4fa88ebfd4779e1509317b7b09c56e8458f5d9 (diff)
downloadchromium_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.h')
-rw-r--r--base/file_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/file_util.h b/base/file_util.h
index a6bb972..cd7fa9f 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -423,7 +423,7 @@ class BASE_EXPORT FileEnumerator {
} FindInfo;
#endif
- enum FILE_TYPE {
+ enum FileType {
FILES = 1 << 0,
DIRECTORIES = 1 << 1,
INCLUDE_DOT_DOT = 1 << 2,
@@ -454,10 +454,10 @@ class BASE_EXPORT FileEnumerator {
// TODO(erikkay): Fix the pattern matching to work at all levels.
FileEnumerator(const FilePath& root_path,
bool recursive,
- FileEnumerator::FILE_TYPE file_type);
+ FileType file_type);
FileEnumerator(const FilePath& root_path,
bool recursive,
- FileEnumerator::FILE_TYPE file_type,
+ FileType file_type,
const FilePath::StringType& pattern);
~FileEnumerator();
@@ -503,7 +503,7 @@ class BASE_EXPORT FileEnumerator {
FilePath root_path_;
bool recursive_;
- FILE_TYPE file_type_;
+ FileType file_type_;
FilePath::StringType pattern_; // Empty when we want to find everything.
// A stack that keeps track of which subdirectories we still need to