| Index: chrome/browser/sync/glue/app_data_type_controller.cc
|
| diff --git a/chrome/browser/sync/glue/app_data_type_controller.cc b/chrome/browser/sync/glue/app_data_type_controller.cc
|
| index 5be7863261204f406b06bfa3c4fcd13a859a39af..1bf782301f0f1b8b878bee0ad63bcd7a68e8c98e 100644
|
| --- a/chrome/browser/sync/glue/app_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/app_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,13 @@ void AppDataTypeController::CreateSyncComponents() {
|
| profile_sync_factory_->CreateAppSyncComponents(sync_service_,
|
| this);
|
| set_model_associator(sync_components.model_associator);
|
| - set_change_processor(sync_components.change_processor);}
|
| + change_processor_.reset(static_cast<GenericChangeProcessor*>(
|
| + sync_components.change_processor));
|
| +}
|
| +
|
| +ChangeProcessor* AppDataTypeController::change_processor() const {
|
| + return change_processor_.get();
|
| +}
|
|
|
| void AppDataTypeController::RecordUnrecoverableError(
|
| const tracked_objects::Location& from_here,
|
|
|