Index: chrome/browser/sessions/session_types.h |
=================================================================== |
--- chrome/browser/sessions/session_types.h (revision 56023) |
+++ chrome/browser/sessions/session_types.h (working copy) |
@@ -88,7 +88,7 @@ |
// This is used when determining the selected TabNavigation and only useful |
// by BaseSessionService and SessionService. |
void set_index(int index) { index_ = index; } |
- int index() { return index_; } |
+ int index() const { return index_; } |
private: |
friend class BaseSessionService; |
@@ -189,4 +189,16 @@ |
DISALLOW_COPY_AND_ASSIGN(SessionWindow); |
}; |
+// Defines a foreign session for session sync. A foreign session is a session |
+// on a remote chrome instance. |
+struct ForeignSession { |
+ ForeignSession(); |
+ ~ForeignSession(); |
+ |
+ // Unique tag for each session. |
+ std::string foreign_tession_tag; |
+ std::vector<SessionWindow*> windows; |
+}; |
+ |
#endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
+ |