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

Side by Side Diff: components/sync/driver/fake_sync_client.cc

Issue 2612323003: [Sync] Filter out types that can't be synced at configure time. (Closed)
Patch Set: Fix bots. Created 3 years, 11 months 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
« no previous file with comments | « components/sync/driver/fake_sync_client.h ('k') | components/sync/driver/sync_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "components/sync/base/extensions_activity.h" 9 #include "components/sync/base/extensions_activity.h"
10 #include "components/sync/base/sync_prefs.h" 10 #include "components/sync/base/sync_prefs.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 favicon::FaviconService* FakeSyncClient::GetFaviconService() { 55 favicon::FaviconService* FakeSyncClient::GetFaviconService() {
56 return nullptr; 56 return nullptr;
57 } 57 }
58 58
59 history::HistoryService* FakeSyncClient::GetHistoryService() { 59 history::HistoryService* FakeSyncClient::GetHistoryService() {
60 return nullptr; 60 return nullptr;
61 } 61 }
62 62
63 bool FakeSyncClient::HasPasswordStore() {
64 return false;
65 }
66
63 base::Closure FakeSyncClient::GetPasswordStateChangedCallback() { 67 base::Closure FakeSyncClient::GetPasswordStateChangedCallback() {
64 return base::Bind(&base::DoNothing); 68 return base::Bind(&base::DoNothing);
65 } 69 }
66 70
67 SyncApiComponentFactory::RegisterDataTypesMethod 71 SyncApiComponentFactory::RegisterDataTypesMethod
68 FakeSyncClient::GetRegisterPlatformTypesCallback() { 72 FakeSyncClient::GetRegisterPlatformTypesCallback() {
69 return base::Bind(&DummyRegisterPlatformTypesCallback); 73 return base::Bind(&DummyRegisterPlatformTypesCallback);
70 } 74 }
71 75
72 autofill::PersonalDataManager* FakeSyncClient::GetPersonalDataManager() { 76 autofill::PersonalDataManager* FakeSyncClient::GetPersonalDataManager() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 110
107 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { 111 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() {
108 return factory_; 112 return factory_;
109 } 113 }
110 114
111 void FakeSyncClient::SetModelTypeSyncBridge(ModelTypeSyncBridge* bridge) { 115 void FakeSyncClient::SetModelTypeSyncBridge(ModelTypeSyncBridge* bridge) {
112 bridge_ = bridge; 116 bridge_ = bridge;
113 } 117 }
114 118
115 } // namespace syncer 119 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/fake_sync_client.h ('k') | components/sync/driver/sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698