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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 virtual bool PurgePartiallySyncedTypes() OVERRIDE; | 89 virtual bool PurgePartiallySyncedTypes() OVERRIDE; |
90 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; | 90 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; |
91 virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) OVERRIDE; | 91 virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) OVERRIDE; |
92 virtual void RegisterInvalidationHandler( | 92 virtual void RegisterInvalidationHandler( |
93 InvalidationHandler* handler) OVERRIDE; | 93 InvalidationHandler* handler) OVERRIDE; |
94 virtual void UpdateRegisteredInvalidationIds( | 94 virtual void UpdateRegisteredInvalidationIds( |
95 InvalidationHandler* handler, | 95 InvalidationHandler* handler, |
96 const ObjectIdSet& ids) OVERRIDE; | 96 const ObjectIdSet& ids) OVERRIDE; |
97 virtual void UnregisterInvalidationHandler( | 97 virtual void UnregisterInvalidationHandler( |
98 InvalidationHandler* handler) OVERRIDE; | 98 InvalidationHandler* handler) OVERRIDE; |
| 99 virtual void AcknowledgeInvalidation( |
| 100 const invalidation::ObjectId& id, |
| 101 const syncer::AckHandle& ack_handle) OVERRIDE; |
99 virtual void StartSyncingNormally( | 102 virtual void StartSyncingNormally( |
100 const ModelSafeRoutingInfo& routing_info) OVERRIDE; | 103 const ModelSafeRoutingInfo& routing_info) OVERRIDE; |
101 virtual void ConfigureSyncer( | 104 virtual void ConfigureSyncer( |
102 ConfigureReason reason, | 105 ConfigureReason reason, |
103 ModelTypeSet types_to_config, | 106 ModelTypeSet types_to_config, |
104 ModelTypeSet failed_types, | 107 ModelTypeSet failed_types, |
105 const ModelSafeRoutingInfo& new_routing_info, | 108 const ModelSafeRoutingInfo& new_routing_info, |
106 const base::Closure& ready_task, | 109 const base::Closure& ready_task, |
107 const base::Closure& retry_task) OVERRIDE; | 110 const base::Closure& retry_task) OVERRIDE; |
108 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; | 111 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // changing passphrases, and in general handles sync-specific interactions | 381 // changing passphrases, and in general handles sync-specific interactions |
379 // with the cryptographer. | 382 // with the cryptographer. |
380 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 383 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
381 | 384 |
382 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 385 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
383 }; | 386 }; |
384 | 387 |
385 } // namespace syncer | 388 } // namespace syncer |
386 | 389 |
387 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 390 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |