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

Unified Diff: chrome/tools/profiles/generate_profile.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
Index: chrome/tools/profiles/generate_profile.cc
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc
index ab7bbdf2096a1ebad8b902ce6b08e68fc2cc6d28..47a8ea1a37ddf68200f9477352f46fa7182008c5 100644
--- a/chrome/tools/profiles/generate_profile.cc
+++ b/chrome/tools/profiles/generate_profile.cc
@@ -268,10 +268,8 @@ int main(int argc, const char* argv[]) {
message_loop.RunAllPending();
- file_util::FileEnumerator file_iterator(
- profile.GetPath(), false,
- static_cast<file_util::FileEnumerator::FileType>(
- file_util::FileEnumerator::FILES));
+ file_util::FileEnumerator file_iterator(profile.GetPath(), false,
+ file_util::FileEnumerator::FILES);
FilePath path = file_iterator.Next();
while (!path.empty()) {
FilePath dst_file = dst_dir.Append(path.BaseName());
« no previous file with comments | « chrome/test/webdriver/webdriver_util.cc ('k') | content/browser/renderer_host/pepper/pepper_file_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698