| 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> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void Initialize(InitParams params) override; | 61 void Initialize(InitParams params) override; |
| 62 void TriggerRefresh(const ModelTypeSet& types) override; | 62 void TriggerRefresh(const ModelTypeSet& types) override; |
| 63 void UpdateCredentials(const SyncCredentials& credentials) override; | 63 void UpdateCredentials(const SyncCredentials& credentials) override; |
| 64 void StartSyncingWithServer() override; | 64 void StartSyncingWithServer() override; |
| 65 void SetEncryptionPassphrase(const std::string& passphrase, | 65 void SetEncryptionPassphrase(const std::string& passphrase, |
| 66 bool is_explicit) override; | 66 bool is_explicit) override; |
| 67 bool SetDecryptionPassphrase(const std::string& passphrase) override | 67 bool SetDecryptionPassphrase(const std::string& passphrase) override |
| 68 WARN_UNUSED_RESULT; | 68 WARN_UNUSED_RESULT; |
| 69 void StopSyncingForShutdown() override; | 69 void StopSyncingForShutdown() override; |
| 70 void Shutdown(ShutdownReason reason) override; | 70 void Shutdown(ShutdownReason reason) override; |
| 71 void UnregisterInvalidationIds() override; | |
| 72 ModelTypeSet ConfigureDataTypes( | 71 ModelTypeSet ConfigureDataTypes( |
| 73 ConfigureReason reason, | 72 ConfigureReason reason, |
| 74 const DataTypeConfigStateMap& config_state_map, | 73 const DataTypeConfigStateMap& config_state_map, |
| 75 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, | 74 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, |
| 76 const base::Callback<void()>& retry_callback) override; | 75 const base::Callback<void()>& retry_callback) override; |
| 77 void ActivateDirectoryDataType(ModelType type, | 76 void ActivateDirectoryDataType(ModelType type, |
| 78 ModelSafeGroup group, | 77 ModelSafeGroup group, |
| 79 ChangeProcessor* change_processor) override; | 78 ChangeProcessor* change_processor) override; |
| 80 void DeactivateDirectoryDataType(ModelType type) override; | 79 void DeactivateDirectoryDataType(ModelType type) override; |
| 81 void ActivateNonBlockingDataType(ModelType type, | 80 void ActivateNonBlockingDataType(ModelType type, |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 base::ThreadChecker thread_checker_; | 313 base::ThreadChecker thread_checker_; |
| 315 | 314 |
| 316 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 315 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |
| 317 | 316 |
| 318 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 317 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |
| 319 }; | 318 }; |
| 320 | 319 |
| 321 } // namespace syncer | 320 } // namespace syncer |
| 322 | 321 |
| 323 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 322 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
| OLD | NEW |