| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 ModelTypeSet to_download, | 96 ModelTypeSet to_download, |
| 97 ModelTypeSet to_purge, | 97 ModelTypeSet to_purge, |
| 98 ModelTypeSet to_journal, | 98 ModelTypeSet to_journal, |
| 99 ModelTypeSet to_unapply, | 99 ModelTypeSet to_unapply, |
| 100 const ModelSafeRoutingInfo& new_routing_info, | 100 const ModelSafeRoutingInfo& new_routing_info, |
| 101 const base::Closure& ready_task, | 101 const base::Closure& ready_task, |
| 102 const base::Closure& retry_task) OVERRIDE; | 102 const base::Closure& retry_task) OVERRIDE; |
| 103 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; | 103 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; |
| 104 virtual void OnIncomingInvalidation( | 104 virtual void OnIncomingInvalidation( |
| 105 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; | 105 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; |
| 106 virtual std::string GetOwnerName() OVERRIDE; |
| 106 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; | 107 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; |
| 107 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; | 108 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; |
| 108 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 109 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
| 109 virtual void SaveChanges() OVERRIDE; | 110 virtual void SaveChanges() OVERRIDE; |
| 110 virtual void ShutdownOnSyncThread() OVERRIDE; | 111 virtual void ShutdownOnSyncThread() OVERRIDE; |
| 111 virtual UserShare* GetUserShare() OVERRIDE; | 112 virtual UserShare* GetUserShare() OVERRIDE; |
| 112 virtual const std::string cache_guid() OVERRIDE; | 113 virtual const std::string cache_guid() OVERRIDE; |
| 113 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; | 114 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; |
| 114 virtual bool HasUnsyncedItems() OVERRIDE; | 115 virtual bool HasUnsyncedItems() OVERRIDE; |
| 115 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; | 116 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 378 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
| 378 | 379 |
| 379 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 380 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
| 380 | 381 |
| 381 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 382 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
| 382 }; | 383 }; |
| 383 | 384 |
| 384 } // namespace syncer | 385 } // namespace syncer |
| 385 | 386 |
| 386 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 387 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
| OLD | NEW |