| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 79   virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 79   virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 
| 80   virtual void SaveChanges() OVERRIDE; | 80   virtual void SaveChanges() OVERRIDE; | 
| 81   virtual void ShutdownOnSyncThread() OVERRIDE; | 81   virtual void ShutdownOnSyncThread() OVERRIDE; | 
| 82   virtual UserShare* GetUserShare() OVERRIDE; | 82   virtual UserShare* GetUserShare() OVERRIDE; | 
| 83   virtual const std::string cache_guid() OVERRIDE; | 83   virtual const std::string cache_guid() OVERRIDE; | 
| 84   virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; | 84   virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; | 
| 85   virtual bool HasUnsyncedItems() OVERRIDE; | 85   virtual bool HasUnsyncedItems() OVERRIDE; | 
| 86   virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; | 86   virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; | 
| 87   virtual void RefreshTypes(ModelTypeSet types) OVERRIDE; | 87   virtual void RefreshTypes(ModelTypeSet types) OVERRIDE; | 
| 88   virtual std::string GetOwnerName() const OVERRIDE; | 88   virtual std::string GetOwnerName() const OVERRIDE; | 
| 89   virtual SyncCoreProxy* GetSyncCoreProxy() OVERRIDE; | 89   virtual SyncContextProxy* GetSyncContextProxy() OVERRIDE; | 
| 90   virtual ScopedVector<ProtocolEvent> GetBufferedProtocolEvents() | 90   virtual ScopedVector<ProtocolEvent> GetBufferedProtocolEvents() | 
| 91       OVERRIDE; | 91       OVERRIDE; | 
| 92   virtual scoped_ptr<base::ListValue> GetAllNodesForType( | 92   virtual scoped_ptr<base::ListValue> GetAllNodesForType( | 
| 93       syncer::ModelType type) OVERRIDE; | 93       syncer::ModelType type) OVERRIDE; | 
| 94 | 94 | 
| 95   // DirectoryChangeDelegate implementation. | 95   // DirectoryChangeDelegate implementation. | 
| 96   virtual void HandleTransactionCompleteChangeEvent( | 96   virtual void HandleTransactionCompleteChangeEvent( | 
| 97       ModelTypeSet models_with_changes) OVERRIDE; | 97       ModelTypeSet models_with_changes) OVERRIDE; | 
| 98   virtual ModelTypeSet HandleTransactionEndingChangeEvent( | 98   virtual ModelTypeSet HandleTransactionEndingChangeEvent( | 
| 99       const syncable::ImmutableWriteTransactionInfo& write_transaction_info, | 99       const syncable::ImmutableWriteTransactionInfo& write_transaction_info, | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 143   base::WeakPtrFactory<SyncRollbackManagerBase> weak_ptr_factory_; | 143   base::WeakPtrFactory<SyncRollbackManagerBase> weak_ptr_factory_; | 
| 144 | 144 | 
| 145   scoped_ptr<SyncEncryptionHandler> dummy_handler_; | 145   scoped_ptr<SyncEncryptionHandler> dummy_handler_; | 
| 146 | 146 | 
| 147   DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); | 147   DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); | 
| 148 }; | 148 }; | 
| 149 | 149 | 
| 150 }  // namespace syncer | 150 }  // namespace syncer | 
| 151 | 151 | 
| 152 #endif  // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ | 152 #endif  // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ | 
| OLD | NEW | 
|---|