summaryrefslogtreecommitdiffstats
path: root/chrome/browser/session_service.h
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 12:27:03 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 12:27:03 +0000
commit1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf (patch)
treeb78be07dbada3ac0f6d2435558e4a6aaba198ffc /chrome/browser/session_service.h
parentea15e98a9353494df754a11fb49f0e4b8c0d4789 (diff)
downloadchromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.zip
chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.gz
chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.bz2
Large patch set (159 files total) to cleanup the includes.
- Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98
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.