| 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" |
| 24 #include "components/sync/base/model_type.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/protocol/encryption.pb.h" |
| 29 #include "components/sync/protocol/sync_protocol_error.h" |
| 30 #include "components/sync/sessions/sync_session_snapshot.h" |
| 31 #include "components/sync/sessions/type_debug_info_observer.h" |
| 23 #include "components/sync_driver/backend_data_type_configurer.h" | 32 #include "components/sync_driver/backend_data_type_configurer.h" |
| 24 #include "components/sync_driver/glue/sync_backend_host.h" | 33 #include "components/sync_driver/glue/sync_backend_host.h" |
| 25 #include "sync/internal_api/public/base/model_type.h" | |
| 26 #include "sync/internal_api/public/configure_reason.h" | |
| 27 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" | |
| 28 #include "sync/internal_api/public/sessions/type_debug_info_observer.h" | |
| 29 #include "sync/internal_api/public/sync_manager.h" | |
| 30 #include "sync/internal_api/public/util/weak_handle.h" | |
| 31 #include "sync/protocol/encryption.pb.h" | |
| 32 #include "sync/protocol/sync_protocol_error.h" | |
| 33 #include "sync/util/extensions_activity.h" | |
| 34 | 34 |
| 35 class GURL; | 35 class GURL; |
| 36 | 36 |
| 37 namespace base { | 37 namespace base { |
| 38 class MessageLoop; | 38 class MessageLoop; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace invalidation { | 41 namespace invalidation { |
| 42 class InvalidationService; | 42 class InvalidationService; |
| 43 } | 43 } |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 bool invalidation_handler_registered_; | 377 bool invalidation_handler_registered_; |
| 378 | 378 |
| 379 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 379 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |
| 380 | 380 |
| 381 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 381 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |
| 382 }; | 382 }; |
| 383 | 383 |
| 384 } // namespace browser_sync | 384 } // namespace browser_sync |
| 385 | 385 |
| 386 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 386 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
| OLD | NEW |