Index: chrome/browser/sessions/tab_restore_service.h |
diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h |
index 31f22e44c442293e4ea7030aa4bf6f2241fa8c4e..e12b9d1fc974d875461bebf3c4c42983278234e2 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( |