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

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

Issue 2807883002: Separate JumpListIcons delete task and update task (Closed)
Patch Set: 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..070041bdb18d3dd313c437f9419ab5883fff4387 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 {
@@ -189,6 +190,9 @@ class JumpList : public sessions::TabRestoreServiceObserver,
// delete JumpListIconsOld sequentially.
gab 2017/04/10 19:33:12 Update comment.
chengx 2017/04/10 21:09:14 Done.
scoped_refptr<base::SingleThreadTaskRunner> single_thread_task_runner_;
gab 2017/04/10 19:33:12 Make these variable names specific now that they'r
chengx 2017/04/10 21:09:14 Done.
+ // A task runner which runs the background JumpListIconsOld deletion tasks.
+ scoped_refptr<base::SequencedTaskRunner> sequenced_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