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

Unified Diff: chrome/browser/sessions/tab_loader.h

Issue 1130673003: Make session restore forced tab load delay Finch configurable, and separate first tab loads from su… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now actually compiles! Created 5 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/sessions/tab_loader.cc » ('j') | chrome/browser/sessions/tab_loader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/tab_loader.h
diff --git a/chrome/browser/sessions/tab_loader.h b/chrome/browser/sessions/tab_loader.h
index 519d024f76d0e71c15abf3afedbaa9de5772040f..351083c44b9b20e02078284391555f8d5b80b114 100644
--- a/chrome/browser/sessions/tab_loader.h
+++ b/chrome/browser/sessions/tab_loader.h
@@ -69,7 +69,9 @@ class TabLoader : public content::NotificationObserver,
void LoadNextTab();
// Starts a timer to load load the next tab once expired before the current
- // tab loading is finished.
+ // tab loading is finished. The first timer is used only once when loading the
+ // first batch of visible tabs.
+ void StartFirstTimer();
gab 2015/05/15 18:21:03 I think it's more readable if we separate these tw
Nico 2015/05/15 18:36:32 +1
chrisha 2015/05/15 18:47:12 Done.
void StartTimer();
// Removes the listeners from the specified tab and removes the tab from
« no previous file with comments | « no previous file | chrome/browser/sessions/tab_loader.cc » ('j') | chrome/browser/sessions/tab_loader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698