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_IMPL_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
20 #include "base/single_thread_task_runner.h" | 20 #include "base/single_thread_task_runner.h" |
21 #include "base/threading/thread.h" | 21 #include "base/threading/thread.h" |
22 #include "components/invalidation/public/invalidation_handler.h" | 22 #include "components/invalidation/public/invalidation_handler.h" |
23 #include "components/sync/base/extensions_activity.h" | 23 #include "components/sync/base/extensions_activity.h" |
24 #include "components/sync/base/model_type.h" | 24 #include "components/sync/base/model_type.h" |
25 #include "components/sync/base/weak_handle.h" | 25 #include "components/sync/base/weak_handle.h" |
26 #include "components/sync/core/configure_reason.h" | |
27 #include "components/sync/core/sync_manager.h" | |
28 #include "components/sync/driver/backend_data_type_configurer.h" | 26 #include "components/sync/driver/backend_data_type_configurer.h" |
29 #include "components/sync/driver/glue/sync_backend_host.h" | 27 #include "components/sync/driver/glue/sync_backend_host.h" |
| 28 #include "components/sync/engine/configure_reason.h" |
30 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" | 29 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" |
31 #include "components/sync/engine/cycle/type_debug_info_observer.h" | 30 #include "components/sync/engine/cycle/type_debug_info_observer.h" |
| 31 #include "components/sync/engine/sync_manager.h" |
32 #include "components/sync/protocol/encryption.pb.h" | 32 #include "components/sync/protocol/encryption.pb.h" |
33 #include "components/sync/protocol/sync_protocol_error.h" | 33 #include "components/sync/protocol/sync_protocol_error.h" |
34 | 34 |
35 class GURL; | 35 class GURL; |
36 | 36 |
37 namespace base { | 37 namespace base { |
38 class MessageLoop; | 38 class MessageLoop; |
39 } // base | 39 } // base |
40 | 40 |
41 namespace invalidation { | 41 namespace invalidation { |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 bool invalidation_handler_registered_; | 350 bool invalidation_handler_registered_; |
351 | 351 |
352 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 352 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |
353 | 353 |
354 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 354 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |
355 }; | 355 }; |
356 | 356 |
357 } // namespace syncer | 357 } // namespace syncer |
358 | 358 |
359 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 359 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
OLD | NEW |