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

Side by Side Diff: chrome/browser/win/jumplist_file_util.h

Issue 2811003002: Experiment with USER_VISIBLE priority for update_jumplisticons_task_runner_ (Closed)
Patch Set: Update function names temporarily for UMA metric tracking. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_WIN_JUMPLIST_FILE_UTIL_H_ 5 #ifndef CHROME_BROWSER_WIN_JUMPLIST_FILE_UTIL_H_
6 #define CHROME_BROWSER_WIN_JUMPLIST_FILE_UTIL_H_ 6 #define CHROME_BROWSER_WIN_JUMPLIST_FILE_UTIL_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 9
10 // Maximum number of icon files allowed to delete per jumplist update. 10 // Maximum number of icon files allowed to delete per jumplist update.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // This method firstly calls DeleteDirectoryContent() to delete the contents in 72 // This method firstly calls DeleteDirectoryContent() to delete the contents in
73 // |path|. If |path| is empty after the call, it is removed. 73 // |path|. If |path| is empty after the call, it is removed.
74 FolderDeleteResult DeleteDirectory(const base::FilePath& path, 74 FolderDeleteResult DeleteDirectory(const base::FilePath& path,
75 int max_file_deleted); 75 int max_file_deleted);
76 76
77 // Deletes the directory at |path| and records the result to UMA. 77 // Deletes the directory at |path| and records the result to UMA.
78 void DeleteDirectoryAndLogResults(const base::FilePath& path, 78 void DeleteDirectoryAndLogResults(const base::FilePath& path,
79 int max_file_deleted); 79 int max_file_deleted);
80 80
81 // Deletes the content in the directory at |path| and records the result to UMA. 81 // Deletes the content in the directory at |path| and records the result to UMA.
82 void DeleteDirectoryContentAndLogResults(const base::FilePath& path, 82 void DeleteDirectoryContentAndLogResultsUserVisiblePriority(
83 int max_file_deleted); 83 const base::FilePath& path,
84 int max_file_deleted);
84 85
85 #endif // CHROME_BROWSER_WIN_JUMPLIST_FILE_UTIL_H_ 86 #endif // CHROME_BROWSER_WIN_JUMPLIST_FILE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698