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

Unified Diff: chrome/browser/sync/glue/bookmark_data_type_controller.cc

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix. And rebase Created 9 years, 7 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
« no previous file with comments | « chrome/browser/sync/glue/app_data_type_controller.cc ('k') | chrome/browser/sync/glue/change_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/bookmark_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller.cc b/chrome/browser/sync/glue/bookmark_data_type_controller.cc
index 4415240e2ac92c89e940f025f13f3ecc4f8fa3b4..7819468bc20a9cee56464b9d3b9d22d3216a23c7 100644
--- a/chrome/browser/sync/glue/bookmark_data_type_controller.cc
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller.cc
@@ -65,8 +65,8 @@ syncable::ModelType BookmarkDataTypeController::type() const {
void BookmarkDataTypeController::CreateSyncComponents() {
ProfileSyncFactory::SyncComponents sync_components = profile_sync_factory_->
CreateBookmarkSyncComponents(sync_service_, this);
- model_associator_.reset(sync_components.model_associator);
- change_processor_.reset(sync_components.change_processor);
+ set_model_associator(sync_components.model_associator);
+ set_change_processor(sync_components.change_processor);
}
void BookmarkDataTypeController::RecordUnrecoverableError(
« no previous file with comments | « chrome/browser/sync/glue/app_data_type_controller.cc ('k') | chrome/browser/sync/glue/change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698