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

Unified Diff: chrome/browser/sessions/tab_loader_delegate.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: Cleaned up comments. 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 | « chrome/browser/sessions/tab_loader.cc ('k') | chrome/browser/sessions/tab_loader_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/tab_loader_delegate.h
diff --git a/chrome/browser/sessions/tab_loader_delegate.h b/chrome/browser/sessions/tab_loader_delegate.h
index f545354788425d9fc575451a9a43c00f48d652e8..e396ac5ab97cb09daf7fb250257bfcc2c88584bb 100644
--- a/chrome/browser/sessions/tab_loader_delegate.h
+++ b/chrome/browser/sessions/tab_loader_delegate.h
@@ -27,8 +27,12 @@ class TabLoaderDelegate {
// The callback object is valid as long as this object exists.
static scoped_ptr<TabLoaderDelegate> Create(TabLoaderCallback* callback);
+ // Returns the default timeout time after which the first non-visible tab
+ // gets loaded if the first (visible) tab did not finish loading.
+ virtual base::TimeDelta GetFirstTabLoadingTimeout() const = 0;
+
// Returns the default timeout time after which the next tab gets loaded if
- // the previous tab did not finish to load.
+ // the previous tab did not finish loading.
virtual base::TimeDelta GetTimeoutBeforeLoadingNextTab() const = 0;
};
« no previous file with comments | « chrome/browser/sessions/tab_loader.cc ('k') | chrome/browser/sessions/tab_loader_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698