| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 COMPONENTS_SESSIONS_CORE_SESSION_TYPES_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_SESSION_TYPES_H_ |
| 6 #define COMPONENTS_SESSIONS_CORE_SESSION_TYPES_H_ | 6 #define COMPONENTS_SESSIONS_CORE_SESSION_TYPES_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "components/sessions/core/serialized_navigation_entry.h" | 16 #include "components/sessions/core/serialized_navigation_entry.h" |
| 17 #include "components/sessions/core/session_id.h" | 17 #include "components/sessions/core/session_id.h" |
| 18 #include "components/sessions/core/sessions_export.h" | 18 #include "components/sessions/core/sessions_export.h" |
| 19 #include "components/sync/protocol/session_specifics.pb.h" | 19 #include "components/sync/protocol/session_specifics.pb.h" |
| 20 #include "components/variations/variations_associated_data.h" | 20 #include "components/variations/variations_associated_data.h" |
| 21 #include "ui/base/ui_base_types.h" | 21 #include "ui/base/ui_base_types.h" |
| 22 #include "ui/gfx/geometry/rect.h" | 22 #include "ui/gfx/geometry/rect.h" |
| 23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 namespace content { | |
| 26 class BrowserContext; | |
| 27 class NavigationEntry; | |
| 28 } | |
| 29 | |
| 30 namespace sessions { | 25 namespace sessions { |
| 31 | 26 |
| 32 // SessionTab ---------------------------------------------------------------- | 27 // SessionTab ---------------------------------------------------------------- |
| 33 | 28 |
| 34 // SessionTab corresponds to a NavigationController. | 29 // SessionTab corresponds to a NavigationController. |
| 35 struct SESSIONS_EXPORT SessionTab { | 30 struct SESSIONS_EXPORT SessionTab { |
| 36 SessionTab(); | 31 SessionTab(); |
| 37 ~SessionTab(); | 32 ~SessionTab(); |
| 38 | 33 |
| 39 // Since the current_navigation_index can be larger than the index for number | 34 // Since the current_navigation_index can be larger than the index for number |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 168 |
| 174 std::string app_name; | 169 std::string app_name; |
| 175 | 170 |
| 176 private: | 171 private: |
| 177 DISALLOW_COPY_AND_ASSIGN(SessionWindow); | 172 DISALLOW_COPY_AND_ASSIGN(SessionWindow); |
| 178 }; | 173 }; |
| 179 | 174 |
| 180 } // namespace sessions | 175 } // namespace sessions |
| 181 | 176 |
| 182 #endif // COMPONENTS_SESSIONS_CORE_SESSION_TYPES_H_ | 177 #endif // COMPONENTS_SESSIONS_CORE_SESSION_TYPES_H_ |
| OLD | NEW |