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

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

Issue 2865133003: Defer syncing TopSites with history until the first tab closure (Closed)
Patch Set: Delay the history sync until 3 tabs are closed rather than 3 recently closed category updates are scheduled Created 3 years, 7 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') | chrome/browser/win/jumplist.cc » ('J')
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 c4b6c857584430198509a89a08b224963d7fb3e0..c5101d57048a440b9b0874e3b2ac18057bfbe758 100644
--- a/chrome/browser/win/jumplist.h
+++ b/chrome/browser/win/jumplist.h
@@ -233,6 +233,13 @@ class JumpList : public sessions::TabRestoreServiceObserver,
// jumplist.
base::OneShotTimer timer_recently_closed_;
+ // The number of tabs closed after Chrome launches.
+ int tab_closed_count_;
+
+ // A boolean flag indicating if the JumpList "most visited" category has been
+ // updated from the TopSites service.
+ bool initial_most_visited_update_done_;
+
// Holds data that can be accessed from multiple threads.
scoped_refptr<base::RefCountedData<JumpListData>> jumplist_data_;
« no previous file with comments | « no previous file | chrome/browser/win/jumplist.cc » ('j') | chrome/browser/win/jumplist.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698