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

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: Merge to ToT for Time => TimeTicks. Sanitize the times. More covergae on test. 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: components/sessions/session_types.h
diff --git a/components/sessions/session_types.h b/components/sessions/session_types.h
index a7f035891ba5c6e2db6bb70eb0c4f1f238886393..e75ba07468097da7647bc587b14f7545d84020cb 100644
--- a/components/sessions/session_types.h
+++ b/components/sessions/session_types.h
@@ -97,6 +97,9 @@ struct SESSIONS_EXPORT SessionTab {
// Timestamp for when this tab was last modified.
base::Time timestamp;
+ // Timestamp for when this tab was last activated.
sky 2015/05/22 03:00:19 Add a comment about being careful as value is only
Georges Khalil 2015/05/22 20:14:09 Done.
+ base::TimeTicks last_active_time;
+
std::vector<sessions::SerializedNavigationEntry> navigations;
// For reassociating sessionStorage.

Powered by Google App Engine
This is Rietveld 408576698