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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ModelTypeSet to_purge, | 107 ModelTypeSet to_purge, |
108 ModelTypeSet to_journal, | 108 ModelTypeSet to_journal, |
109 ModelTypeSet to_unapply, | 109 ModelTypeSet to_unapply, |
110 const ModelSafeRoutingInfo& new_routing_info, | 110 const ModelSafeRoutingInfo& new_routing_info, |
111 const base::Closure& ready_task, | 111 const base::Closure& ready_task, |
112 const base::Closure& retry_task) OVERRIDE; | 112 const base::Closure& retry_task) OVERRIDE; |
113 virtual void AddObserver(Observer* observer) OVERRIDE; | 113 virtual void AddObserver(Observer* observer) OVERRIDE; |
114 virtual void RemoveObserver(Observer* observer) OVERRIDE; | 114 virtual void RemoveObserver(Observer* observer) OVERRIDE; |
115 virtual SyncStatus GetDetailedStatus() const OVERRIDE; | 115 virtual SyncStatus GetDetailedStatus() const OVERRIDE; |
116 virtual void SaveChanges() OVERRIDE; | 116 virtual void SaveChanges() OVERRIDE; |
117 virtual void ShutdownOnSyncThread() OVERRIDE; | 117 virtual void ShutdownOnSyncThread(ShutdownReason reason) OVERRIDE; |
118 virtual UserShare* GetUserShare() OVERRIDE; | 118 virtual UserShare* GetUserShare() OVERRIDE; |
119 virtual syncer::SyncContextProxy* GetSyncContextProxy() OVERRIDE; | 119 virtual syncer::SyncContextProxy* GetSyncContextProxy() OVERRIDE; |
120 virtual const std::string cache_guid() OVERRIDE; | 120 virtual const std::string cache_guid() OVERRIDE; |
121 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; | 121 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; |
122 virtual bool HasUnsyncedItems() OVERRIDE; | 122 virtual bool HasUnsyncedItems() OVERRIDE; |
123 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; | 123 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; |
124 virtual ScopedVector<syncer::ProtocolEvent> | 124 virtual ScopedVector<syncer::ProtocolEvent> |
125 GetBufferedProtocolEvents() OVERRIDE; | 125 GetBufferedProtocolEvents() OVERRIDE; |
126 virtual scoped_ptr<base::ListValue> GetAllNodesForType( | 126 virtual scoped_ptr<base::ListValue> GetAllNodesForType( |
127 syncer::ModelType type) OVERRIDE; | 127 syncer::ModelType type) OVERRIDE; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 TestUserShare test_user_share_; | 165 TestUserShare test_user_share_; |
166 | 166 |
167 NullSyncContextProxy null_sync_context_proxy_; | 167 NullSyncContextProxy null_sync_context_proxy_; |
168 | 168 |
169 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); | 169 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); |
170 }; | 170 }; |
171 | 171 |
172 } // namespace syncer | 172 } // namespace syncer |
173 | 173 |
174 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ | 174 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ |
OLD | NEW |