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_TAB_RESTORE_SERVICE_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_H_ |
6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_H_ | 6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "components/keyed_service/core/keyed_service.h" | 14 #include "components/keyed_service/core/keyed_service.h" |
15 #include "components/sessions/serialized_navigation_entry.h" | 15 #include "components/sessions/core/serialized_navigation_entry.h" |
16 #include "components/sessions/session_id.h" | 16 #include "components/sessions/core/session_id.h" |
17 #include "components/sessions/session_types.h" | 17 #include "components/sessions/core/session_types.h" |
18 #include "components/sessions/sessions_export.h" | 18 #include "components/sessions/core/sessions_export.h" |
19 #include "ui/base/window_open_disposition.h" | 19 #include "ui/base/window_open_disposition.h" |
20 | 20 |
21 namespace sessions { | 21 namespace sessions { |
22 | 22 |
23 class LiveTab; | 23 class LiveTab; |
24 class PlatformSpecificTabData; | 24 class PlatformSpecificTabData; |
25 class TabRestoreServiceDelegate; | 25 class TabRestoreServiceDelegate; |
26 class TabRestoreServiceObserver; | 26 class TabRestoreServiceObserver; |
27 | 27 |
28 // TabRestoreService is responsible for maintaining the most recently closed | 28 // TabRestoreService is responsible for maintaining the most recently closed |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 201 |
202 private: | 202 private: |
203 friend TabRestoreService::Tab; | 203 friend TabRestoreService::Tab; |
204 | 204 |
205 virtual scoped_ptr<PlatformSpecificTabData> Clone() = 0; | 205 virtual scoped_ptr<PlatformSpecificTabData> Clone() = 0; |
206 }; | 206 }; |
207 | 207 |
208 } // namespace sessions | 208 } // namespace sessions |
209 | 209 |
210 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_H_ | 210 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_H_ |
OLD | NEW |