Index: chrome/browser/sync/glue/extension_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/extension_data_type_controller.cc b/chrome/browser/sync/glue/extension_data_type_controller.cc |
index 11f4a72c6f6c1a644b52e3585944f0af238f840a..b364a574df07dfe08eb323f0e2597123a28b47df 100644 |
--- a/chrome/browser/sync/glue/extension_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/extension_data_type_controller.cc |
@@ -6,6 +6,7 @@ |
#include "base/metrics/histogram.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/browser/sync/glue/generic_change_processor.h" |
#include "chrome/browser/sync/profile_sync_factory.h" |
namespace browser_sync { |
@@ -36,7 +37,12 @@ void ExtensionDataTypeController::CreateSyncComponents() { |
profile_sync_factory_->CreateExtensionSyncComponents(sync_service_, |
this); |
set_model_associator(sync_components.model_associator); |
- set_change_processor(sync_components.change_processor); |
+ change_processor_.reset(reinterpret_cast<GenericChangeProcessor*>( |
+ sync_components.change_processor)); |
+} |
+ |
+ChangeProcessor* ExtensionDataTypeController::change_processor() const { |
+ return change_processor_.get(); |
} |
void ExtensionDataTypeController::RecordUnrecoverableError( |