Index: chrome/browser/win/jumplist.h |
diff --git a/chrome/browser/win/jumplist.h b/chrome/browser/win/jumplist.h |
index 0279af26e198153fccf2f13c6de8a501aa8f4cfa..1e72190492e004643a63bcc82d7573b7b944b6ea 100644 |
--- a/chrome/browser/win/jumplist.h |
+++ b/chrome/browser/win/jumplist.h |
@@ -176,6 +176,14 @@ class JumpList : public sessions::TabRestoreServiceObserver, |
// The directory which contains JumpList icons. |
base::FilePath icon_dir_; |
+ // A boolean flag indicating if "Most Visited" category of the JumpList should |
+ // be updated or not. |
+ bool should_update_most_visited_; |
+ |
+ // A boolean flag indicating if "Recently Closed" category of the JumpList |
+ // should be updated or not. |
+ bool should_update_recent_closed_; |
+ |
// Timer for requesting delayed updates of the jumplist. |
base::OneShotTimer timer_; |
@@ -186,11 +194,12 @@ 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. |
- scoped_refptr<base::SingleThreadTaskRunner> update_jumplisticons_task_runner_; |
+ // A task runner running tasks to update the JumpList. |
+ scoped_refptr<base::SingleThreadTaskRunner> update_jumplist_task_runner_; |
- // A task runner running tasks to delete JumpListIconsOld directory. |
- scoped_refptr<base::SequencedTaskRunner> delete_jumplisticonsold_task_runner_; |
+ // A task runner running tasks to delete JumpListIcons directory and |
+ // JumpListIconsOld directory. |
+ scoped_refptr<base::SequencedTaskRunner> delete_jumplisticons_task_runner_; |
// For callbacks may be run after destruction. |
base::WeakPtrFactory<JumpList> weak_ptr_factory_; |