| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_BACKEND_H_ | 5 #ifndef COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_ |
| 6 #define COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_ | 6 #define COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/task/cancelable_task_tracker.h" | 15 #include "base/task/cancelable_task_tracker.h" |
| 13 #include "components/sessions/core/base_session_service.h" | 16 #include "components/sessions/core/base_session_service.h" |
| 14 #include "components/sessions/core/session_command.h" | 17 #include "components/sessions/core/session_command.h" |
| 15 #include "components/sessions/core/sessions_export.h" | 18 #include "components/sessions/core/sessions_export.h" |
| 16 | 19 |
| 17 namespace base { | 20 namespace base { |
| 18 class File; | 21 class File; |
| 19 } | 22 } |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 139 |
| 137 // If true, the file is empty (no commands have been added to it). | 140 // If true, the file is empty (no commands have been added to it). |
| 138 bool empty_file_; | 141 bool empty_file_; |
| 139 | 142 |
| 140 DISALLOW_COPY_AND_ASSIGN(SessionBackend); | 143 DISALLOW_COPY_AND_ASSIGN(SessionBackend); |
| 141 }; | 144 }; |
| 142 | 145 |
| 143 } // namespace sessions | 146 } // namespace sessions |
| 144 | 147 |
| 145 #endif // COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_ | 148 #endif // COMPONENTS_SESSIONS_CORE_SESSION_BACKEND_H_ |
| OLD | NEW |