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

Unified Diff: chrome/common/zip.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: 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
Index: chrome/common/zip.cc
diff --git a/chrome/common/zip.cc b/chrome/common/zip.cc
index ef50eadd6a0a6dc1a5f75302890df256b8c99637..05a49ee040f710ef44a37d6745dacb187c58fa3e 100644
--- a/chrome/common/zip.cc
+++ b/chrome/common/zip.cc
@@ -132,9 +132,8 @@ bool ZipWithFilterCallback(const FilePath& src_dir, const FilePath& dest_file,
bool success = true;
file_util::FileEnumerator file_enumerator(
src_dir, true, // recursive
jar (doing other things) 2012/08/06 18:27:02 nit: consider pushing args back onto line 133.
Haruki Sato 2012/08/06 23:22:18 Done.
- static_cast<file_util::FileEnumerator::FileType>(
- file_util::FileEnumerator::FILES |
- file_util::FileEnumerator::DIRECTORIES));
+ (file_util::FileEnumerator::FILES |
+ file_util::FileEnumerator::DIRECTORIES));
for (FilePath path = file_enumerator.Next(); !path.value().empty();
path = file_enumerator.Next()) {
if (!filter_cb.Run(path)) {

Powered by Google App Engine
This is Rietveld 408576698