Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_cache.cc |
| diff --git a/chrome/browser/chromeos/gdata/gdata_cache.cc b/chrome/browser/chromeos/gdata/gdata_cache.cc |
| index 6b2efb326d501475a755d3341c40fe6c673eae06..ba23149ed122495bd5ddbcaf0f0b17dd455a16ab 100644 |
| --- a/chrome/browser/chromeos/gdata/gdata_cache.cc |
| +++ b/chrome/browser/chromeos/gdata/gdata_cache.cc |
| @@ -182,9 +182,8 @@ void DeleteFilesSelectively(const FilePath& path_to_delete_pattern, |
| file_util::FileEnumerator enumerator( |
| path_to_delete_pattern.DirName(), |
| false, // not recursive |
| - static_cast<file_util::FileEnumerator::FileType>( |
| - file_util::FileEnumerator::FILES | |
| - file_util::FileEnumerator::SHOW_SYM_LINKS), |
| + (file_util::FileEnumerator::FILES | |
| + file_util::FileEnumerator::SHOW_SYM_LINKS), |
|
jar (doing other things)
2012/08/06 18:27:02
nit: IMO, no need for paren around arg.
Haruki Sato
2012/08/06 23:22:18
I think it helps when the expression occupies mult
jar (doing other things)
2012/08/07 01:47:43
These examples are IMO borderline... but they prov
|
| path_to_delete_pattern.BaseName().value()); |
| for (FilePath current = enumerator.Next(); !current.empty(); |
| current = enumerator.Next()) { |