OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
| 11 #include <memory> |
11 #include <string> | 12 #include <string> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
17 #include "components/invalidation/public/invalidation.h" | 18 #include "components/invalidation/public/invalidation.h" |
18 #include "components/sync/base/cancelation_signal.h" | 19 #include "components/sync/base/cancelation_signal.h" |
19 #include "components/sync/core/shutdown_reason.h" | 20 #include "components/sync/core/shutdown_reason.h" |
20 #include "components/sync/core/sync_encryption_handler.h" | 21 #include "components/sync/core/sync_encryption_handler.h" |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 std::map<ModelType, int64_t> last_invalidation_versions_; | 315 std::map<ModelType, int64_t> last_invalidation_versions_; |
315 | 316 |
316 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; | 317 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; |
317 | 318 |
318 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); | 319 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); |
319 }; | 320 }; |
320 | 321 |
321 } // namespace syncer | 322 } // namespace syncer |
322 | 323 |
323 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 324 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
OLD | NEW |