diff options
author | skrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 21:29:26 +0000 |
---|---|---|
committer | skrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 21:29:26 +0000 |
commit | 371d04994828cbb44f679f2191bbe515ded93809 (patch) | |
tree | ce92451ab201ba3c001f4c9606e41a6e5176245e /chrome/browser/sync/profile_sync_service_unittest.cc | |
parent | 3c3651b12c736550eb815bcc88e7dbe521225fac (diff) | |
download | chromium_src-371d04994828cbb44f679f2191bbe515ded93809.zip chromium_src-371d04994828cbb44f679f2191bbe515ded93809.tar.gz chromium_src-371d04994828cbb44f679f2191bbe515ded93809.tar.bz2 |
Create preferences DTC and wire it into the profile sync factory.
Also includes a small valgrind error fix.
Review URL: http://codereview.chromium.org/598046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_unittest.cc')
-rw-r--r-- | chrome/browser/sync/profile_sync_service_unittest.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc index 2e54c5b..1753370 100644 --- a/chrome/browser/sync/profile_sync_service_unittest.cc +++ b/chrome/browser/sync/profile_sync_service_unittest.cc @@ -51,10 +51,15 @@ class TestProfileSyncFactory : public ProfileSyncFactory { return profile_sync_service_.release(); } - virtual BookmarkComponents CreateBookmarkComponents( + virtual SyncComponents CreateBookmarkSyncComponents( ProfileSyncService* service) { - return BookmarkComponents(model_associator_.release(), - change_processor_.release()); + return SyncComponents(model_associator_.release(), + change_processor_.release()); + } + + virtual SyncComponents CreatePreferenceSyncComponents( + ProfileSyncService* service) { + return SyncComponents(NULL, NULL); } private: |