| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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> |
| 11 | 11 |
| 12 #include "base/stl_util-inl.h" | 12 #include "base/stl_util-inl.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "chrome/browser/sessions/session_id.h" | 15 #include "chrome/browser/sessions/session_id.h" |
| 16 #include "chrome/common/page_transition_types.h" | 16 #include "content/common/page_transition_types.h" |
| 17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 #include "ui/gfx/rect.h" | 18 #include "ui/gfx/rect.h" |
| 19 | 19 |
| 20 class NavigationEntry; | 20 class NavigationEntry; |
| 21 class Profile; | 21 class Profile; |
| 22 | 22 |
| 23 // TabNavigation ------------------------------------------------------------- | 23 // TabNavigation ------------------------------------------------------------- |
| 24 | 24 |
| 25 // TabNavigation corresponds to the parts of NavigationEntry needed to restore | 25 // TabNavigation corresponds to the parts of NavigationEntry needed to restore |
| 26 // the NavigationEntry during session restore and tab restore. | 26 // the NavigationEntry during session restore and tab restore. |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 struct ForeignSession { | 194 struct ForeignSession { |
| 195 ForeignSession(); | 195 ForeignSession(); |
| 196 ~ForeignSession(); | 196 ~ForeignSession(); |
| 197 | 197 |
| 198 // Unique tag for each session. | 198 // Unique tag for each session. |
| 199 std::string foreign_session_tag; | 199 std::string foreign_session_tag; |
| 200 std::vector<SessionWindow*> windows; | 200 std::vector<SessionWindow*> windows; |
| 201 }; | 201 }; |
| 202 | 202 |
| 203 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 203 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| OLD | NEW |