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

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

Issue 2865133003: Defer syncing TopSites with history until the first tab closure (Closed)
Patch Set: Git pull and fix merge conflicts 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') | 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 a174654b1e94de9cfb0181d182849b510a17d3c7..77a19e3025bfda8abd2da1ba794e5191c5a595d6 100644
--- a/chrome/browser/win/jumplist.h
+++ b/chrome/browser/win/jumplist.h
@@ -247,6 +247,9 @@ class JumpList : public sessions::TabRestoreServiceObserver,
// was too slow. Updates will be resumed when this reaches 0 again.
int updates_to_skip_ = 0;
+ // A boolean flag indicating if a session has at least one tab closed.
+ bool has_tab_closed_ = false;
+
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698