summaryrefslogtreecommitdiffstats
path: root/chrome/browser/session_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/session_service.h')
-rw-r--r--chrome/browser/session_service.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/chrome/browser/session_service.h b/chrome/browser/session_service.h
index df932f9..8c7a6a6 100644
--- a/chrome/browser/session_service.h
+++ b/chrome/browser/session_service.h
@@ -38,6 +38,7 @@
#include "base/time.h"
#include "chrome/browser/browser_type.h"
#include "chrome/browser/cancelable_request.h"
+#include "chrome/browser/session_id.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/page_transition_types.h"
#include "chrome/common/stl_util-inl.h"
@@ -53,33 +54,6 @@ class Timer;
class SessionBackend;
class SessionCommand;
-// SessionID ------------------------------------------------------------------
-
-// Uniquely identifies a session, tab or window.
-
-class SessionID {
- friend class SessionService;
- public:
- typedef int32 id_type;
-
- SessionID();
- ~SessionID() {}
-
- // Returns the underlying id.
- id_type id() const { return id_; }
-
- // Returns true if the two commands are equal.
- bool Equals(const SessionID& other) const;
-
- private:
- explicit SessionID(id_type id) : id_(id) {}
-
- // Resets the id. This is used when restoring a session
- void set_id(id_type id) { id_ = id; }
-
- id_type id_;
-};
-
// TabNavigation ------------------------------------------------------------
// TabNavigation corresponds to a NavigationEntry.