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

Unified Diff: components/sync_driver/fake_sync_client.cc

Issue 1421003007: [Sync] Componentize ProfileSyncComponentsFactoryImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix sessions api test 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_driver/fake_sync_client.cc
diff --git a/components/sync_driver/fake_sync_client.cc b/components/sync_driver/fake_sync_client.cc
index 51e2b38aec1b917a6bb5c5395c830cc9dc938c4c..8645c2d6d283aa2e3f29d6f9fb22247d3ba09730 100644
--- a/components/sync_driver/fake_sync_client.cc
+++ b/components/sync_driver/fake_sync_client.cc
@@ -16,6 +16,9 @@ namespace {
void DummyClearBrowsingDataCallback(base::Time start, base::Time end) {}
+void DummyRegisterPlatformTypesCallback(syncer::ModelTypeSet,
+ syncer::ModelTypeSet) {}
+
} // namespace
FakeSyncClient::FakeSyncClient()
@@ -63,6 +66,11 @@ base::Closure FakeSyncClient::GetPasswordStateChangedCallback() {
return base::Bind(&base::DoNothing);
}
+sync_driver::SyncApiComponentFactory::RegisterDataTypesMethod
+FakeSyncClient::GetRegisterPlatformTypesCallback() {
+ return base::Bind(&DummyRegisterPlatformTypesCallback);
+}
+
autofill::PersonalDataManager* FakeSyncClient::GetPersonalDataManager() {
return nullptr;
}
« no previous file with comments | « components/sync_driver/fake_sync_client.h ('k') | components/sync_driver/generic_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698