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 #include "sync/internal_api/public/test/fake_sync_manager.h" | 5 #include "sync/internal_api/public/test/fake_sync_manager.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 syncer::TypeDebugInfoObserver* observer) {} | 256 syncer::TypeDebugInfoObserver* observer) {} |
257 | 257 |
258 bool FakeSyncManager::HasDirectoryTypeDebugInfoObserver( | 258 bool FakeSyncManager::HasDirectoryTypeDebugInfoObserver( |
259 syncer::TypeDebugInfoObserver* observer) { | 259 syncer::TypeDebugInfoObserver* observer) { |
260 return false; | 260 return false; |
261 } | 261 } |
262 | 262 |
263 void FakeSyncManager::RequestEmitDebugInfo() {} | 263 void FakeSyncManager::RequestEmitDebugInfo() {} |
264 | 264 |
265 void FakeSyncManager::OnIncomingInvalidation( | 265 void FakeSyncManager::OnIncomingInvalidation( |
266 const ObjectIdInvalidationMap& invalidation_map) { | 266 syncer::ModelType type, |
| 267 scoped_ptr<InvalidationInterface> invalidation) { |
267 // Do nothing. | 268 // Do nothing. |
268 } | 269 } |
269 | 270 |
270 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() { | 271 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() { |
271 return last_refresh_request_types_; | 272 return last_refresh_request_types_; |
272 } | 273 } |
273 | 274 |
274 void FakeSyncManager::OnInvalidatorStateChange(InvalidatorState state) { | 275 void FakeSyncManager::OnInvalidatorStateChange(InvalidatorState state) { |
275 // Do nothing. | 276 // Do nothing. |
276 } | 277 } |
277 | 278 |
278 std::string FakeSyncManager::GetOwnerName() const { return "FakeSyncManager"; } | |
279 | |
280 } // namespace syncer | 279 } // namespace syncer |
OLD | NEW |