Index: chrome/browser/sync/glue/preference_data_type_controller.cc |
=================================================================== |
--- chrome/browser/sync/glue/preference_data_type_controller.cc (revision 105407) |
+++ chrome/browser/sync/glue/preference_data_type_controller.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "base/metrics/histogram.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/sync/api/syncable_service.h" |
+#include "chrome/browser/sync/glue/generic_change_processor.h" |
#include "chrome/browser/sync/profile_sync_factory.h" |
namespace browser_sync { |
@@ -32,14 +33,9 @@ |
profile_sync_factory_->CreatePreferenceSyncComponents(sync_service_, |
this); |
set_model_associator(sync_components.model_associator); |
- generic_change_processor_.reset(static_cast<GenericChangeProcessor*>( |
- sync_components.change_processor)); |
+ set_change_processor(sync_components.change_processor); |
} |
-GenericChangeProcessor* PreferenceDataTypeController::change_processor() const { |
- return generic_change_processor_.get(); |
-} |
- |
void PreferenceDataTypeController::RecordUnrecoverableError( |
const tracked_objects::Location& from_here, |
const std::string& message) { |