Index: chrome/browser/win/jumplist_file_util.cc |
diff --git a/chrome/browser/win/jumplist_file_util.cc b/chrome/browser/win/jumplist_file_util.cc |
index 7c9870441d73388df3cc79f22f9977169ac4672e..9dd5b11e3041070d2fad91ac470742862438e25f 100644 |
--- a/chrome/browser/win/jumplist_file_util.cc |
+++ b/chrome/browser/win/jumplist_file_util.cc |
@@ -125,6 +125,9 @@ void DeleteDirectoryAndLogResults(const base::FilePath& path, |
void DeleteDirectoryContentAndLogResults(const base::FilePath& path, |
int max_file_deleted) { |
+ // TODO(chengx): Remove the UMA histogram after fixing http://crbug.com/40407. |
+ SCOPED_UMA_HISTOGRAM_TIMER("WinJumplist.DeleteDirectoryContentDuration"); |
+ |
DirectoryStatus dir_status = NON_EXIST; |
// Delete the content in |path|. If |path| doesn't exist, create one. |