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

Unified Diff: components/sessions/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: 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 | « chrome/browser/ui/browser.cc ('k') | components/sessions/session_service_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/session_service_commands.h
diff --git a/components/sessions/session_service_commands.h b/components/sessions/session_service_commands.h
index 6bf3be85a84ac9a0c1a7c816631f874ebac3aefd..e1cca36902da7b57fc74b33a22b3e2c635303024 100644
--- a/components/sessions/session_service_commands.h
+++ b/components/sessions/session_service_commands.h
@@ -78,6 +78,9 @@ SESSIONS_EXPORT scoped_ptr<SessionCommand> CreateSetTabUserAgentOverrideCommand(
SESSIONS_EXPORT scoped_ptr<SessionCommand> CreateSetWindowAppNameCommand(
const SessionID& window_id,
const std::string& app_name);
+SESSIONS_EXPORT scoped_ptr<SessionCommand> CreateLastActiveTimeCommand(
+ const SessionID& tab_id,
+ base::TimeTicks last_active_time);
// Searches for a pending command using |base_session_service| that can be
// replaced with |command|. If one is found, pending command is removed, the
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | components/sessions/session_service_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698