Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: base/file_util_win.cc

Issue 10855002: Change the type of file_type parameter to int, as the parameter actually takes or-ed bitmasks, (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix missing comma. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/file_util_unittest.cc ('k') | base/test/test_file_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_win.cc
diff --git a/base/file_util_win.cc b/base/file_util_win.cc
index 6602121dbadc9b4270dad6bb60d9de789fce7c62..b88e13169e8993db2ba2ebb48bd1090cbf355c3f 100644
--- a/base/file_util_win.cc
+++ b/base/file_util_win.cc
@@ -799,7 +799,7 @@ bool SetCurrentDirectory(const FilePath& directory) {
FileEnumerator::FileEnumerator(const FilePath& root_path,
bool recursive,
- FileType file_type)
+ int file_type)
: recursive_(recursive),
file_type_(file_type),
has_find_data_(false),
@@ -812,7 +812,7 @@ FileEnumerator::FileEnumerator(const FilePath& root_path,
FileEnumerator::FileEnumerator(const FilePath& root_path,
bool recursive,
- FileType file_type,
+ int file_type,
const FilePath::StringType& pattern)
: recursive_(recursive),
file_type_(file_type),
« no previous file with comments | « base/file_util_unittest.cc ('k') | base/test/test_file_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698