Index: components/sync_driver/device_info_data_type_controller.cc |
diff --git a/components/sync_driver/device_info_data_type_controller.cc b/components/sync_driver/device_info_data_type_controller.cc |
index 592633dc815a2cd93c7c573cf69ce0ee9c089d8d..f1e7499b318dfa9f4dd23906474c3f7e94ddcff7 100644 |
--- a/components/sync_driver/device_info_data_type_controller.cc |
+++ b/components/sync_driver/device_info_data_type_controller.cc |
@@ -37,6 +37,10 @@ bool DeviceInfoDataTypeController::StartModels() { |
return false; |
} |
+void DeviceInfoDataTypeController::StopModels() { |
+ subscription_.reset(); |
+} |
+ |
void DeviceInfoDataTypeController::OnLocalDeviceInfoLoaded() { |
DCHECK_EQ(state_, MODEL_STARTING); |
DCHECK(local_device_info_provider_->GetLocalDeviceInfo()); |