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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 } | 245 } |
246 | 246 |
247 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() { | 247 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() { |
248 return last_refresh_request_types_; | 248 return last_refresh_request_types_; |
249 } | 249 } |
250 | 250 |
251 void FakeSyncManager::OnInvalidatorStateChange(InvalidatorState state) { | 251 void FakeSyncManager::OnInvalidatorStateChange(InvalidatorState state) { |
252 // Do nothing. | 252 // Do nothing. |
253 } | 253 } |
254 | 254 |
| 255 std::string FakeSyncManager::GetOwnerName() const { return "FakeSyncManager"; } |
| 256 |
255 } // namespace syncer | 257 } // namespace syncer |
OLD | NEW |