Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: components/sync_driver/fake_sync_client.cc

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Limit ui/ DEPS to transition types Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698