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 <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
17 #include "components/invalidation/public/invalidation.h" | 17 #include "components/invalidation/public/invalidation.h" |
| 18 #include "components/sync/base/cancelation_signal.h" |
| 19 #include "components/sync/core/shutdown_reason.h" |
| 20 #include "components/sync/core/sync_encryption_handler.h" |
| 21 #include "components/sync/sessions/type_debug_info_observer.h" |
18 #include "components/sync_driver/glue/sync_backend_host_impl.h" | 22 #include "components/sync_driver/glue/sync_backend_host_impl.h" |
19 #include "components/sync_driver/system_encryptor.h" | 23 #include "components/sync_driver/system_encryptor.h" |
20 #include "sync/internal_api/public/base/cancelation_signal.h" | |
21 #include "sync/internal_api/public/sessions/type_debug_info_observer.h" | |
22 #include "sync/internal_api/public/shutdown_reason.h" | |
23 #include "sync/internal_api/public/sync_encryption_handler.h" | |
24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
25 | 25 |
26 namespace browser_sync { | 26 namespace browser_sync { |
27 | 27 |
28 class SyncBackendHostImpl; | 28 class SyncBackendHostImpl; |
29 | 29 |
30 // Utility struct for holding initialization options. | 30 // Utility struct for holding initialization options. |
31 struct DoInitializeOptions { | 31 struct DoInitializeOptions { |
32 DoInitializeOptions( | 32 DoInitializeOptions( |
33 base::MessageLoop* sync_loop, | 33 base::MessageLoop* sync_loop, |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 std::map<syncer::ModelType, int64_t> last_invalidation_versions_; | 333 std::map<syncer::ModelType, int64_t> last_invalidation_versions_; |
334 | 334 |
335 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; | 335 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; |
336 | 336 |
337 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); | 337 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); |
338 }; | 338 }; |
339 | 339 |
340 } // namespace browser_sync | 340 } // namespace browser_sync |
341 | 341 |
342 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 342 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
OLD | NEW |