| Index: components/sessions/core/tab_restore_service.h
|
| diff --git a/components/sessions/core/tab_restore_service.h b/components/sessions/core/tab_restore_service.h
|
| index f9eda99c3c0155adddf34530ab4b0d7dcaea2439..0e29256b914ee7bb4c8bdea0e3db858bbce43e6e 100644
|
| --- a/components/sessions/core/tab_restore_service.h
|
| +++ b/components/sessions/core/tab_restore_service.h
|
| @@ -154,6 +154,9 @@ class SESSIONS_EXPORT TabRestoreService : public KeyedService {
|
| // front.
|
| virtual const Entries& entries() const = 0;
|
|
|
| + // Get certain entry.
|
| + virtual Entry* GetMostRecentEntry() = 0;
|
| +
|
| // Restores the most recently closed entry. Does nothing if there are no
|
| // entries to restore. If the most recently restored entry is a tab, it is
|
| // added to |context|. Returns the LiveTab instances of the restored tab(s).
|
|
|