| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 explicit SyncManagerImpl(const std::string& name); | 67 explicit SyncManagerImpl(const std::string& name); |
| 68 ~SyncManagerImpl() override; | 68 ~SyncManagerImpl() override; |
| 69 | 69 |
| 70 // SyncManager implementation. | 70 // SyncManager implementation. |
| 71 void Init(InitArgs* args) override; | 71 void Init(InitArgs* args) override; |
| 72 ModelTypeSet InitialSyncEndedTypes() override; | 72 ModelTypeSet InitialSyncEndedTypes() override; |
| 73 ModelTypeSet GetTypesWithEmptyProgressMarkerToken( | 73 ModelTypeSet GetTypesWithEmptyProgressMarkerToken( |
| 74 ModelTypeSet types) override; | 74 ModelTypeSet types) override; |
| 75 bool PurgePartiallySyncedTypes() override; | 75 bool PurgePartiallySyncedTypes() override; |
| 76 void UpdateCredentials(const SyncCredentials& credentials) override; | 76 void UpdateCredentials(const SyncCredentials& credentials) override; |
| 77 void StartSyncingNormally(const ModelSafeRoutingInfo& routing_info, | 77 void StartSyncingNormally(const ModelSafeRoutingInfo& routing_info) override; |
| 78 base::Time last_poll_time) override; | |
| 79 void ConfigureSyncer(ConfigureReason reason, | 78 void ConfigureSyncer(ConfigureReason reason, |
| 80 ModelTypeSet to_download, | 79 ModelTypeSet to_download, |
| 81 ModelTypeSet to_purge, | 80 ModelTypeSet to_purge, |
| 82 ModelTypeSet to_journal, | 81 ModelTypeSet to_journal, |
| 83 ModelTypeSet to_unapply, | 82 ModelTypeSet to_unapply, |
| 84 const ModelSafeRoutingInfo& new_routing_info, | 83 const ModelSafeRoutingInfo& new_routing_info, |
| 85 const base::Closure& ready_task, | 84 const base::Closure& ready_task, |
| 86 const base::Closure& retry_task) override; | 85 const base::Closure& retry_task) override; |
| 87 void SetInvalidatorEnabled(bool invalidator_enabled) override; | 86 void SetInvalidatorEnabled(bool invalidator_enabled) override; |
| 88 void OnIncomingInvalidation( | 87 void OnIncomingInvalidation( |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 337 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
| 339 | 338 |
| 340 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 339 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
| 341 | 340 |
| 342 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 341 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 343 }; | 342 }; |
| 344 | 343 |
| 345 } // namespace syncer | 344 } // namespace syncer |
| 346 | 345 |
| 347 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 346 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |