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

Unified Diff: chrome/browser/ui/webui/chromeos/drive_internals_ui.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/browser/ui/webui/chromeos/drive_internals_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
index 9f40a9c07f699fd71c9a27ef1a5a2b49d69bdee8..02eeb6db2e7d51c4ebbf6bc8e4d4bd4ed8006f7d 100644
--- a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc
@@ -51,7 +51,7 @@ void GetGCacheContents(const FilePath& root_path,
FileEnumerator enumerator(
root_path,
true, // recursive
- static_cast<FileEnumerator::FileType>(options));
+ options);
jar (doing other things) 2012/08/06 18:27:02 nit: no reason to wrap these... and if you do wrap
Haruki Sato 2012/08/06 23:22:18 Done. Thanks!
int64 total_size = 0;
for (FilePath current = enumerator.Next(); !current.empty();

Powered by Google App Engine
This is Rietveld 408576698