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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 const base::Closure& ready_task, | 103 const base::Closure& ready_task, |
104 const base::Closure& retry_task) OVERRIDE; | 104 const base::Closure& retry_task) OVERRIDE; |
105 virtual void SetInvalidatorEnabled(bool invalidator_enabled) OVERRIDE; | 105 virtual void SetInvalidatorEnabled(bool invalidator_enabled) OVERRIDE; |
106 virtual void OnIncomingInvalidation( | 106 virtual void OnIncomingInvalidation( |
107 syncer::ModelType type, | 107 syncer::ModelType type, |
108 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE; | 108 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE; |
109 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; | 109 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; |
110 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; | 110 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; |
111 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 111 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
112 virtual void SaveChanges() OVERRIDE; | 112 virtual void SaveChanges() OVERRIDE; |
113 virtual void ShutdownOnSyncThread() OVERRIDE; | 113 virtual void ShutdownOnSyncThread(ShutdownReason reason) OVERRIDE; |
114 virtual UserShare* GetUserShare() OVERRIDE; | 114 virtual UserShare* GetUserShare() OVERRIDE; |
115 virtual syncer::SyncContextProxy* GetSyncContextProxy() OVERRIDE; | 115 virtual syncer::SyncContextProxy* GetSyncContextProxy() OVERRIDE; |
116 virtual const std::string cache_guid() OVERRIDE; | 116 virtual const std::string cache_guid() OVERRIDE; |
117 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; | 117 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; |
118 virtual bool HasUnsyncedItems() OVERRIDE; | 118 virtual bool HasUnsyncedItems() OVERRIDE; |
119 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; | 119 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; |
120 virtual ScopedVector<syncer::ProtocolEvent> | 120 virtual ScopedVector<syncer::ProtocolEvent> |
121 GetBufferedProtocolEvents() OVERRIDE; | 121 GetBufferedProtocolEvents() OVERRIDE; |
122 virtual scoped_ptr<base::ListValue> GetAllNodesForType( | 122 virtual scoped_ptr<base::ListValue> GetAllNodesForType( |
123 syncer::ModelType type) OVERRIDE; | 123 syncer::ModelType type) OVERRIDE; |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 365 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
366 | 366 |
367 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 367 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
368 | 368 |
369 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 369 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
370 }; | 370 }; |
371 | 371 |
372 } // namespace syncer | 372 } // namespace syncer |
373 | 373 |
374 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 374 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |