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

Unified Diff: components/sessions/session_types.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: Addressed 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 | « components/sessions/session_service_commands.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/session_types.h
diff --git a/components/sessions/session_types.h b/components/sessions/session_types.h
index a7f035891ba5c6e2db6bb70eb0c4f1f238886393..c71445e4800c2d6b57faba9668b4f46db0b38095 100644
--- a/components/sessions/session_types.h
+++ b/components/sessions/session_types.h
@@ -97,6 +97,11 @@ struct SESSIONS_EXPORT SessionTab {
// Timestamp for when this tab was last modified.
base::Time timestamp;
+ // Timestamp for when this tab was last activated. As these use TimeTicks,
+ // they should not be compared with one another, unless it's within the same
+ // chrome session.
+ base::TimeTicks last_active_time;
+
std::vector<sessions::SerializedNavigationEntry> navigations;
// For reassociating sessionStorage.
« no previous file with comments | « components/sessions/session_service_commands.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698