| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ROLLBACK_MANAGER_BASE_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ |
| 6 #define SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ | 6 #define SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 const base::Closure& ready_task, | 52 const base::Closure& ready_task, |
| 53 const base::Closure& retry_task) OVERRIDE; | 53 const base::Closure& retry_task) OVERRIDE; |
| 54 virtual void SetInvalidatorEnabled(bool invalidator_enabled) OVERRIDE; | 54 virtual void SetInvalidatorEnabled(bool invalidator_enabled) OVERRIDE; |
| 55 virtual void OnIncomingInvalidation( | 55 virtual void OnIncomingInvalidation( |
| 56 syncer::ModelType type, | 56 syncer::ModelType type, |
| 57 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE; | 57 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE; |
| 58 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; | 58 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; |
| 59 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; | 59 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; |
| 60 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 60 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
| 61 virtual void SaveChanges() OVERRIDE; | 61 virtual void SaveChanges() OVERRIDE; |
| 62 virtual void ShutdownOnSyncThread() OVERRIDE; | 62 virtual void ShutdownOnSyncThread(ShutdownReason reason) OVERRIDE; |
| 63 virtual UserShare* GetUserShare() OVERRIDE; | 63 virtual UserShare* GetUserShare() OVERRIDE; |
| 64 virtual const std::string cache_guid() OVERRIDE; | 64 virtual const std::string cache_guid() OVERRIDE; |
| 65 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; | 65 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; |
| 66 virtual bool HasUnsyncedItems() OVERRIDE; | 66 virtual bool HasUnsyncedItems() OVERRIDE; |
| 67 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; | 67 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; |
| 68 virtual void RefreshTypes(ModelTypeSet types) OVERRIDE; | 68 virtual void RefreshTypes(ModelTypeSet types) OVERRIDE; |
| 69 virtual SyncContextProxy* GetSyncContextProxy() OVERRIDE; | 69 virtual SyncContextProxy* GetSyncContextProxy() OVERRIDE; |
| 70 virtual ScopedVector<ProtocolEvent> GetBufferedProtocolEvents() | 70 virtual ScopedVector<ProtocolEvent> GetBufferedProtocolEvents() |
| 71 OVERRIDE; | 71 OVERRIDE; |
| 72 virtual scoped_ptr<base::ListValue> GetAllNodesForType( | 72 virtual scoped_ptr<base::ListValue> GetAllNodesForType( |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 scoped_ptr<SyncEncryptionHandler> dummy_handler_; | 136 scoped_ptr<SyncEncryptionHandler> dummy_handler_; |
| 137 | 137 |
| 138 bool initialized_; | 138 bool initialized_; |
| 139 | 139 |
| 140 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); | 140 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } // namespace syncer | 143 } // namespace syncer |
| 144 | 144 |
| 145 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ | 145 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ |
| OLD | NEW |