diff options
Diffstat (limited to 'chrome/browser/sessions/tab_restore_service.h')
-rw-r--r-- | chrome/browser/sessions/tab_restore_service.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h index 31f22e4..e12b9d1 100644 --- a/chrome/browser/sessions/tab_restore_service.h +++ b/chrome/browser/sessions/tab_restore_service.h @@ -175,6 +175,10 @@ class TabRestoreService : public BaseSessionService { // Max number of entries we'll keep around. static const size_t kMaxEntries; + // Creates and add entries to |entries| for each of the windows in |windows|. + void CreateEntriesFromWindows(std::vector<SessionWindow*>* windows, + std::vector<Entry*>* entries); + protected: virtual void Save(); @@ -291,11 +295,6 @@ class TabRestoreService : public BaseSessionService { void OnGotPreviousSession(Handle handle, std::vector<SessionWindow*>* windows); - // Creates and add entries to |entries| for each of the windows in |windows|. - void CreateEntriesFromWindows( - std::vector<SessionWindow*>* windows, - std::vector<Entry*>* entries); - // Converts a SessionWindow into a Window, returning true on success. We use 0 // as the timestamp here since we do not know when the window/tab was closed. bool ConvertSessionWindowToWindow( |