| 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_client.h" | 5 #include "components/sync_driver/fake_sync_client.h" |
| 6 | 6 |
| 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 8 #include "components/password_manager/core/browser/password_store.h" | 8 #include "components/password_manager/core/browser/password_store.h" |
| 9 #include "components/sync_driver/fake_sync_service.h" | 9 #include "components/sync_driver/fake_sync_service.h" |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 scoped_refptr<autofill::AutofillWebDataService> | 54 scoped_refptr<autofill::AutofillWebDataService> |
| 55 FakeSyncClient::GetWebDataService() { | 55 FakeSyncClient::GetWebDataService() { |
| 56 return scoped_refptr<autofill::AutofillWebDataService>(); | 56 return scoped_refptr<autofill::AutofillWebDataService>(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 BookmarkUndoService* FakeSyncClient::GetBookmarkUndoServiceIfExists() { | 59 BookmarkUndoService* FakeSyncClient::GetBookmarkUndoServiceIfExists() { |
| 60 return nullptr; | 60 return nullptr; |
| 61 } | 61 } |
| 62 | 62 |
| 63 sync_sessions::SyncSessionsClient* FakeSyncClient::GetSyncSessionsClient() { |
| 64 return nullptr; |
| 65 } |
| 66 |
| 63 base::WeakPtr<syncer::SyncableService> | 67 base::WeakPtr<syncer::SyncableService> |
| 64 FakeSyncClient::GetSyncableServiceForType(syncer::ModelType type) { | 68 FakeSyncClient::GetSyncableServiceForType(syncer::ModelType type) { |
| 65 return base::WeakPtr<syncer::SyncableService>(); | 69 return base::WeakPtr<syncer::SyncableService>(); |
| 66 } | 70 } |
| 67 | 71 |
| 68 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { | 72 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { |
| 69 return factory_; | 73 return factory_; |
| 70 } | 74 } |
| 71 | 75 |
| 72 } // namespace sync_driver | 76 } // namespace sync_driver |
| OLD | NEW |