| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 DISALLOW_COPY_AND_ASSIGN(SessionWindow); | 178 DISALLOW_COPY_AND_ASSIGN(SessionWindow); |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 // Defines a foreign session for session sync. A foreign session is a session | 181 // Defines a foreign session for session sync. A foreign session is a session |
| 182 // on a remote chrome instance. | 182 // on a remote chrome instance. |
| 183 struct ForeignSession { | 183 struct ForeignSession { |
| 184 ForeignSession(); | 184 ForeignSession(); |
| 185 ~ForeignSession(); | 185 ~ForeignSession(); |
| 186 | 186 |
| 187 // Unique tag for each session. | 187 // Unique tag for each session. |
| 188 std::string foreign_tession_tag; | 188 std::string foreign_session_tag; |
| 189 std::vector<SessionWindow*> windows; | 189 std::vector<SessionWindow*> windows; |
| 190 }; | 190 }; |
| 191 | 191 |
| 192 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 192 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| 193 | 193 |
| OLD | NEW |