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

Unified Diff: chrome/browser/sessions/session_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: 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/sessions/session_restore_delegate.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_service.h
diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h
index ca409cfe9aede8e262b12d24e15a4fdee8d662bd..0b5212d293ce1a3e40e6eaddc3fc754b1dcdef18 100644
--- a/chrome/browser/sessions/session_service.h
+++ b/chrome/browser/sessions/session_service.h
@@ -201,6 +201,11 @@ class SessionService : public BaseSessionServiceDelegateImpl,
const SessionID& tab_id,
const std::string& extension_app_id);
+ // Sets the last active time of the tab.
+ void SetLastActiveTime(const SessionID& window_id,
+ const SessionID& tab_id,
+ base::TimeTicks last_active_time);
+
// Callback from GetLastSession.
// The second parameter is the id of the window that was last active.
typedef base::Callback<void(ScopedVector<sessions::SessionWindow>,
« no previous file with comments | « chrome/browser/sessions/session_restore_delegate.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698