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_BASE_SESSION_SERVICE_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ |
6 #define COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ | 6 #define COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/task/cancelable_task_tracker.h" | 14 #include "base/task/cancelable_task_tracker.h" |
14 #include "components/sessions/core/sessions_export.h" | 15 #include "components/sessions/core/sessions_export.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 | 18 |
18 namespace sessions { | 19 namespace sessions { |
19 class BaseSessionServiceDelegate; | 20 class BaseSessionServiceDelegate; |
20 class SerializedNavigationEntry; | 21 class SerializedNavigationEntry; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 128 |
128 // Used to invoke Save. | 129 // Used to invoke Save. |
129 base::WeakPtrFactory<BaseSessionService> weak_factory_; | 130 base::WeakPtrFactory<BaseSessionService> weak_factory_; |
130 | 131 |
131 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); | 132 DISALLOW_COPY_AND_ASSIGN(BaseSessionService); |
132 }; | 133 }; |
133 | 134 |
134 } // namespace sessions | 135 } // namespace sessions |
135 | 136 |
136 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ | 137 #endif // COMPONENTS_SESSIONS_CORE_BASE_SESSION_SERVICE_H_ |
OLD | NEW |