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

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

Issue 2807883002: Separate JumpListIcons delete task and update task (Closed)
Patch Set: Update comments and better variables. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/win/jumplist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/win/jumplist.h
diff --git a/chrome/browser/win/jumplist.h b/chrome/browser/win/jumplist.h
index d8d96025425cbefe427f7cba65442d8284f97f07..225b49fa5ed850e2bfcfecc542a34516711da665 100644
--- a/chrome/browser/win/jumplist.h
+++ b/chrome/browser/win/jumplist.h
@@ -32,6 +32,7 @@
namespace base {
class SingleThreadTaskRunner;
+class SequencedTaskRunner;
}
namespace chrome {
@@ -185,9 +186,11 @@ class JumpList : public sessions::TabRestoreServiceObserver,
// comes in before it finishes.
base::CancelableTaskTracker::TaskId task_id_;
- // A task runner running tasks to update the jumplist in JumpListIcons and to
- // delete JumpListIconsOld sequentially.
- scoped_refptr<base::SingleThreadTaskRunner> single_thread_task_runner_;
+ // A task runner running tasks to update the jumplist in JumpListIcons.
+ scoped_refptr<base::SingleThreadTaskRunner> update_jumplisticons_task_runner_;
+
+ // A task runner running tasks to delete JumpListIconsOld directory.
+ scoped_refptr<base::SequencedTaskRunner> delete_jumplisticonsold_task_runner_;
// For callbacks may be run after destruction.
base::WeakPtrFactory<JumpList> weak_ptr_factory_;
« no previous file with comments | « no previous file | chrome/browser/win/jumplist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698