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

Unified Diff: chrome/browser/sync/profile_sync_factory_mock.cc

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the previous fix Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/profile_sync_factory_mock.cc
diff --git a/chrome/browser/sync/profile_sync_factory_mock.cc b/chrome/browser/sync/profile_sync_factory_mock.cc
index 2d9210015909d24b8c0544956af8580816b7ef6c..8d53aa3702aea7abd59d39e5948e268e8191b9ad 100644
--- a/chrome/browser/sync/profile_sync_factory_mock.cc
+++ b/chrome/browser/sync/profile_sync_factory_mock.cc
@@ -6,7 +6,7 @@
#include "chrome/browser/sync/glue/model_associator.h"
#include "chrome/browser/sync/profile_sync_factory_mock.h"
-using browser_sync::AssociatorInterface;
+using browser_sync::NewAssociatorInterface;
using browser_sync::ChangeProcessor;
using testing::_;
using testing::InvokeWithoutArgs;
@@ -14,7 +14,7 @@ using testing::InvokeWithoutArgs;
ProfileSyncFactoryMock::ProfileSyncFactoryMock() {}
ProfileSyncFactoryMock::ProfileSyncFactoryMock(
- AssociatorInterface* bookmark_model_associator,
+ NewAssociatorInterface* bookmark_model_associator,
ChangeProcessor* bookmark_change_processor)
: bookmark_model_associator_(bookmark_model_associator),
bookmark_change_processor_(bookmark_change_processor) {
@@ -29,6 +29,6 @@ ProfileSyncFactoryMock::~ProfileSyncFactoryMock() {}
ProfileSyncFactory::SyncComponents
ProfileSyncFactoryMock::MakeBookmarkSyncComponents() {
- return SyncComponents(bookmark_model_associator_.release(),
+ return SyncComponents(bookmark_model_associator_,
bookmark_change_processor_.release());
}

Powered by Google App Engine
This is Rietveld 408576698