OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual void UnregisterInvalidationHandler( | 108 virtual void UnregisterInvalidationHandler( |
109 InvalidationHandler* handler) OVERRIDE; | 109 InvalidationHandler* handler) OVERRIDE; |
110 virtual void AcknowledgeInvalidation( | 110 virtual void AcknowledgeInvalidation( |
111 const invalidation::ObjectId& id, | 111 const invalidation::ObjectId& id, |
112 const syncer::AckHandle& ack_handle) OVERRIDE; | 112 const syncer::AckHandle& ack_handle) OVERRIDE; |
113 virtual void StartSyncingNormally( | 113 virtual void StartSyncingNormally( |
114 const ModelSafeRoutingInfo& routing_info) OVERRIDE; | 114 const ModelSafeRoutingInfo& routing_info) OVERRIDE; |
115 virtual void ConfigureSyncer( | 115 virtual void ConfigureSyncer( |
116 ConfigureReason reason, | 116 ConfigureReason reason, |
117 ModelTypeSet to_download, | 117 ModelTypeSet to_download, |
| 118 ModelTypeSet to_purge, |
118 ModelTypeSet to_journal, | 119 ModelTypeSet to_journal, |
119 ModelTypeSet to_unapply, | 120 ModelTypeSet to_unapply, |
120 ModelTypeSet to_ignore, | |
121 const ModelSafeRoutingInfo& new_routing_info, | 121 const ModelSafeRoutingInfo& new_routing_info, |
122 const base::Closure& ready_task, | 122 const base::Closure& ready_task, |
123 const base::Closure& retry_task) OVERRIDE; | 123 const base::Closure& retry_task) OVERRIDE; |
124 virtual void AddObserver(Observer* observer) OVERRIDE; | 124 virtual void AddObserver(Observer* observer) OVERRIDE; |
125 virtual void RemoveObserver(Observer* observer) OVERRIDE; | 125 virtual void RemoveObserver(Observer* observer) OVERRIDE; |
126 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 126 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
127 virtual void SaveChanges() OVERRIDE; | 127 virtual void SaveChanges() OVERRIDE; |
128 virtual void StopSyncingForShutdown(const base::Closure& callback) OVERRIDE; | 128 virtual void StopSyncingForShutdown(const base::Closure& callback) OVERRIDE; |
129 virtual void ShutdownOnSyncThread() OVERRIDE; | 129 virtual void ShutdownOnSyncThread() OVERRIDE; |
130 virtual UserShare* GetUserShare() OVERRIDE; | 130 virtual UserShare* GetUserShare() OVERRIDE; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; | 170 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; |
171 | 171 |
172 TestUserShare test_user_share_; | 172 TestUserShare test_user_share_; |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); | 174 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); |
175 }; | 175 }; |
176 | 176 |
177 } // namespace syncer | 177 } // namespace syncer |
178 | 178 |
179 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 179 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
OLD | NEW |