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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 OVERRIDE; | 64 OVERRIDE; |
65 virtual void ConfigureSyncer( | 65 virtual void ConfigureSyncer( |
66 ConfigureReason reason, | 66 ConfigureReason reason, |
67 ModelTypeSet to_download, | 67 ModelTypeSet to_download, |
68 ModelTypeSet to_purge, | 68 ModelTypeSet to_purge, |
69 ModelTypeSet to_journal, | 69 ModelTypeSet to_journal, |
70 ModelTypeSet to_unapply, | 70 ModelTypeSet to_unapply, |
71 const ModelSafeRoutingInfo& new_routing_info, | 71 const ModelSafeRoutingInfo& new_routing_info, |
72 const base::Closure& ready_task, | 72 const base::Closure& ready_task, |
73 const base::Closure& retry_task) OVERRIDE; | 73 const base::Closure& retry_task) OVERRIDE; |
74 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; | 74 virtual void SetInvalidatorEnabled(bool invalidator_enabled) OVERRIDE; |
75 virtual void OnIncomingInvalidation( | 75 virtual void OnIncomingInvalidation( |
76 syncer::ModelType type, | 76 syncer::ModelType type, |
77 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE; | 77 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE; |
78 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; | 78 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; |
79 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; | 79 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; |
80 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 80 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
81 virtual void SaveChanges() OVERRIDE; | 81 virtual void SaveChanges() OVERRIDE; |
82 virtual void ShutdownOnSyncThread() OVERRIDE; | 82 virtual void ShutdownOnSyncThread() OVERRIDE; |
83 virtual UserShare* GetUserShare() OVERRIDE; | 83 virtual UserShare* GetUserShare() OVERRIDE; |
84 virtual const std::string cache_guid() OVERRIDE; | 84 virtual const std::string cache_guid() OVERRIDE; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 scoped_ptr<SyncEncryptionHandler> dummy_handler_; | 149 scoped_ptr<SyncEncryptionHandler> dummy_handler_; |
150 | 150 |
151 bool initialized_; | 151 bool initialized_; |
152 | 152 |
153 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); | 153 DISALLOW_COPY_AND_ASSIGN(SyncRollbackManagerBase); |
154 }; | 154 }; |
155 | 155 |
156 } // namespace syncer | 156 } // namespace syncer |
157 | 157 |
158 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ | 158 #endif // SYNC_INTERNAL_API_SYNC_ROLLBACK_MANAGER_BASE_H_ |
OLD | NEW |