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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; | 104 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; |
105 virtual void OnIncomingInvalidation( | 105 virtual void OnIncomingInvalidation( |
106 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; | 106 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; |
107 virtual std::string GetOwnerName() const OVERRIDE; | 107 virtual std::string GetOwnerName() const OVERRIDE; |
108 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; | 108 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; |
109 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; | 109 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; |
110 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 110 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
111 virtual void SaveChanges() OVERRIDE; | 111 virtual void SaveChanges() OVERRIDE; |
112 virtual void ShutdownOnSyncThread() OVERRIDE; | 112 virtual void ShutdownOnSyncThread() OVERRIDE; |
113 virtual UserShare* GetUserShare() OVERRIDE; | 113 virtual UserShare* GetUserShare() OVERRIDE; |
114 virtual syncer::SyncCore* GetSyncCore() OVERRIDE; | 114 virtual base::WeakPtr<syncer::SyncCore> GetSyncCore() OVERRIDE; |
115 virtual const std::string cache_guid() OVERRIDE; | 115 virtual const std::string cache_guid() OVERRIDE; |
116 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; | 116 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; |
117 virtual bool HasUnsyncedItems() OVERRIDE; | 117 virtual bool HasUnsyncedItems() OVERRIDE; |
118 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; | 118 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; |
119 virtual ScopedVector<syncer::ProtocolEvent> | 119 virtual ScopedVector<syncer::ProtocolEvent> |
120 GetBufferedProtocolEvents() OVERRIDE; | 120 GetBufferedProtocolEvents() OVERRIDE; |
121 | 121 |
122 // SyncEncryptionHandler::Observer implementation. | 122 // SyncEncryptionHandler::Observer implementation. |
123 virtual void OnPassphraseRequired( | 123 virtual void OnPassphraseRequired( |
124 PassphraseRequiredReason reason, | 124 PassphraseRequiredReason reason, |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 374 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
375 | 375 |
376 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 376 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
377 | 377 |
378 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 378 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
379 }; | 379 }; |
380 | 380 |
381 } // namespace syncer | 381 } // namespace syncer |
382 | 382 |
383 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 383 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |