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

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

Issue 1131373003: [Session restore] Add MRU logic to loading of background pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/sessions/tab_restore_service.h
diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h
index ccf2d2ab73c452b11edd6e18d7841d9fc3750a19..8624f1948530e05099b2e2324e2210529f871f56 100644
--- a/chrome/browser/sessions/tab_restore_service.h
+++ b/chrome/browser/sessions/tab_restore_service.h
@@ -105,6 +105,9 @@ class TabRestoreService : public KeyedService {
// The user agent override used for the tab's navigations (if applicable).
std::string user_agent_override;
+
+ // Timestamp of the last time the tab was active.
+ base::TimeTicks last_active_time;
};
// Represents a previously open window.

Powered by Google App Engine
This is Rietveld 408576698