OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/sync/driver/fake_sync_service.h" | 5 #include "components/sync/driver/fake_sync_service.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "components/sync/driver/data_type_controller.h" | 9 #include "components/sync/driver/data_type_controller.h" |
10 #include "components/sync/syncable/base_transaction.h" | 10 #include "components/sync/syncable/base_transaction.h" |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 void FakeSyncService::RemoveTypeDebugInfoObserver( | 207 void FakeSyncService::RemoveTypeDebugInfoObserver( |
208 TypeDebugInfoObserver* observer) {} | 208 TypeDebugInfoObserver* observer) {} |
209 | 209 |
210 base::WeakPtr<JsController> FakeSyncService::GetJsController() { | 210 base::WeakPtr<JsController> FakeSyncService::GetJsController() { |
211 return base::WeakPtr<JsController>(); | 211 return base::WeakPtr<JsController>(); |
212 } | 212 } |
213 | 213 |
214 void FakeSyncService::GetAllNodes( | 214 void FakeSyncService::GetAllNodes( |
215 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} | 215 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} |
216 | 216 |
| 217 SigninManagerBase* FakeSyncService::signin() const { |
| 218 return nullptr; |
| 219 } |
| 220 |
217 } // namespace syncer | 221 } // namespace syncer |
OLD | NEW |