Index: components/sync/device_info/device_info_data_type_controller.h |
diff --git a/components/sync/device_info/device_info_data_type_controller.h b/components/sync/device_info/device_info_data_type_controller.h |
index aa560856a1b7857c4e29d515c853fc34a60dce0d..79f535f33fc38a00f1753f6284a87f2de390e41b 100644 |
--- a/components/sync/device_info/device_info_data_type_controller.h |
+++ b/components/sync/device_info/device_info_data_type_controller.h |
@@ -8,7 +8,6 @@ |
#include <memory> |
#include "base/macros.h" |
-#include "base/single_thread_task_runner.h" |
#include "components/sync/device_info/local_device_info_provider.h" |
#include "components/sync/driver/ui_data_type_controller.h" |
@@ -17,15 +16,14 @@ namespace sync_driver { |
// DataTypeController for DEVICE_INFO model type. |
class DeviceInfoDataTypeController : public UIDataTypeController { |
public: |
+ // |dump_stack| is called when an unrecoverable error occurs. |
DeviceInfoDataTypeController( |
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, |
- const base::Closure& error_callback, |
+ const base::Closure& dump_stack, |
SyncClient* sync_client, |
LocalDeviceInfoProvider* local_device_info_provider); |
- |
- private: |
~DeviceInfoDataTypeController() override; |
+ private: |
// UIDataTypeController implementations. |
bool StartModels() override; |
void StopModels() override; |