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

Unified Diff: chrome/browser/win/jumplist_file_util.h

Issue 2778513002: Delete JumpListIconsOld and update revised links in every update (Closed)
Patch Set: Address comments. Created 3 years, 9 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/browser/win/jumplist.cc ('k') | chrome/browser/win/jumplist_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/win/jumplist_file_util.h
diff --git a/chrome/browser/win/jumplist_file_util.h b/chrome/browser/win/jumplist_file_util.h
index ec618162aa256fcb35c3043ea52cd6b481928141..dd9dd961da0452f13b17856e9df002190ca964f0 100644
--- a/chrome/browser/win/jumplist_file_util.h
+++ b/chrome/browser/win/jumplist_file_util.h
@@ -8,7 +8,7 @@
#include "base/files/file_path.h"
// Maximum number of icon files allowed to delete per jumplist update.
-const int kFileDeleteLimit = 100;
+const int kFileDeleteLimit = 60;
// Folder delete status enumeration, used in Delete* methods below.
// This is used for UMA. Do not delete entries, and keep in sync with
@@ -36,14 +36,15 @@ enum FolderDeleteResult {
END
};
-// An enumeration indicating if a directory is empty or not.
+// An enumeration indicating if a directory exists or if it is empty or not.
// This is used for UMA. Do not delete entries, and keep in sync with
// histograms.xml.
-enum DirectoryEmptyStatus {
+enum DirectoryStatus {
EMPTY = 0,
NON_EMPTY,
+ NON_EXIST,
// Add new items before this one, always keep this one at the end.
- EMPTY_STATUS_END
+ DIRECTORY_STATUS_END
};
// This method is similar to base::DeleteFileRecursive in
« no previous file with comments | « chrome/browser/win/jumplist.cc ('k') | chrome/browser/win/jumplist_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698