summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/tab_restore_service.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-02 08:03:16 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-02 08:03:16 +0000
commit9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7 (patch)
tree8c40767e736727e95fb735cfe1ab50f1cc984bdc /chrome/browser/sessions/tab_restore_service.cc
parent5ef9898d7c51f934efdd45d5fdbc0e1faacec189 (diff)
downloadchromium_src-9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7.zip
chromium_src-9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7.tar.gz
chromium_src-9c92d191fd78a2f9c8b9c35519fbd0bc6d0940e7.tar.bz2
[GTTF] Reduce header dependencies in chrome.
Review URL: http://codereview.chromium.org/457025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions/tab_restore_service.cc')
-rw-r--r--chrome/browser/sessions/tab_restore_service.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/sessions/tab_restore_service.cc b/chrome/browser/sessions/tab_restore_service.cc
index dc7b7b5..aeaceab 100644
--- a/chrome/browser/sessions/tab_restore_service.cc
+++ b/chrome/browser/sessions/tab_restore_service.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/profile.h"
#include "chrome/browser/sessions/session_service.h"
#include "chrome/browser/sessions/session_command.h"
+#include "chrome/browser/sessions/session_types.h"
#include "chrome/browser/tab_contents/navigation_controller.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "chrome/browser/tab_contents/tab_contents.h"
@@ -118,6 +119,17 @@ void RemoveEntryByID(SessionID::id_type id,
} // namespace
+TabRestoreService::Tab::Tab()
+ : Entry(TAB),
+ current_navigation_index(-1),
+ browser_id(0),
+ tabstrip_index(-1),
+ pinned(false) {
+}
+
+TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) {
+}
+
TabRestoreService::TabRestoreService(Profile* profile,
TabRestoreService::TimeFactory* time_factory)
: BaseSessionService(BaseSessionService::TAB_RESTORE, profile,