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

Unified Diff: components/sessions/base_session_service_commands.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: components/sessions/base_session_service_commands.h
diff --git a/components/sessions/base_session_service_commands.h b/components/sessions/base_session_service_commands.h
index d7bc7a184cd8bc0a2a75abbde6416e3b77262dcc..e116c28c9f24491d4dd9d35fc21aec8363ba20ee 100644
--- a/components/sessions/base_session_service_commands.h
+++ b/components/sessions/base_session_service_commands.h
@@ -43,6 +43,12 @@ SESSIONS_EXPORT scoped_ptr<SessionCommand> CreateSetWindowAppNameCommand(
SessionID::id_type window_id,
const std::string& app_name);
+// Creates a SessionCommand stores the last time the tab was activated.
+SESSIONS_EXPORT scoped_ptr<SessionCommand> CreateLastActiveTimeCommand(
sky 2015/05/12 21:25:30 Is this used?
Georges Khalil 2015/05/15 16:55:30 Not anymore, removed.
+ SessionID::id_type command_id,
+ SessionID::id_type window_id,
+ const std::string& app_name);
+
// Converts a SessionCommand previously created by
// CreateUpdateTabNavigationCommand into a
// sessions::SerializedNavigationEntry. Returns true on success. If

Powered by Google App Engine
This is Rietveld 408576698