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

Unified Diff: chrome/installer/setup/uninstall.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 | « chrome/common/zip_unittest.cc ('k') | chrome/installer/util/duplicate_tree_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index f4c4d70a253314a8fbfd68c38f7f9964a60ae4f5..bad833b8fc08d5372ac1e5e54f0ff3d8369194d0 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -466,11 +466,8 @@ DeleteResult DeleteChromeFilesAndFolders(const InstallerState& installer_state,
DeleteResult result = DELETE_SUCCEEDED;
using file_util::FileEnumerator;
- FileEnumerator file_enumerator(
- target_path,
- false,
- static_cast<FileEnumerator::FileType>(FileEnumerator::FILES |
- FileEnumerator::DIRECTORIES));
+ FileEnumerator file_enumerator(target_path, false,
+ FileEnumerator::FILES | FileEnumerator::DIRECTORIES);
while (true) {
FilePath to_delete(file_enumerator.Next());
if (to_delete.empty())
« no previous file with comments | « chrome/common/zip_unittest.cc ('k') | chrome/installer/util/duplicate_tree_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698