}
virtual SharedChangeProcessor* CreateSharedChangeProcessor() OVERRIDE {
- return change_processor_;
+ return change_processor_.get();
}
protected:
non_ui_dtc_ =
new NonUIDataTypeControllerFake(NULL,
dtc_mock_.get(),
- change_processor_,
+ change_processor_.get(),
backend_thread_.message_loop_proxy());
}
EXPECT_EQ(DataTypeController::RUNNING, non_ui_dtc_->state());
testing::Mock::VerifyAndClearExpectations(&start_callback_);
- EXPECT_CALL(start_callback_, Run(DataTypeController::RUNTIME_ERROR, _, _));
+ EXPECT_CALL(model_load_callback_, Run(_, _));
syncer::SyncError error(FROM_HERE,
syncer::SyncError::DATATYPE_ERROR,
"error",