summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/tab_restore_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/tab_restore_service.h')
-rw-r--r--chrome/browser/sessions/tab_restore_service.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h
index ba351ab..ce488be 100644
--- a/chrome/browser/sessions/tab_restore_service.h
+++ b/chrome/browser/sessions/tab_restore_service.h
@@ -6,17 +6,18 @@
#define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_H_
#include <list>
+#include <set>
#include <vector>
#include "base/observer_list.h"
#include "base/time.h"
#include "chrome/browser/sessions/base_session_service.h"
#include "chrome/browser/sessions/session_id.h"
-#include "chrome/browser/sessions/session_types.h"
class Browser;
class NavigationController;
class Profile;
+struct SessionWindow;
// TabRestoreService is responsible for maintaining the most recently closed
// tabs and windows. When a tab is closed
@@ -79,12 +80,7 @@ class TabRestoreService : public BaseSessionService {
// Represents a previously open tab.
struct Tab : public Entry {
- Tab()
- : Entry(TAB),
- current_navigation_index(-1),
- browser_id(0),
- tabstrip_index(-1),
- pinned(false) {}
+ Tab();
bool has_browser() const { return browser_id > 0; }
@@ -107,7 +103,7 @@ class TabRestoreService : public BaseSessionService {
// Represents a previously open window.
struct Window : public Entry {
- Window() : Entry(WINDOW), selected_tab_index(-1) {}
+ Window();
// The tabs that comprised the window, in order.
std::vector<Tab> tabs;