Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: components/sync/device_info/device_info_data_type_controller.h

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase, address comments, remove TestMessageLoop. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b69df9895540ba423b04e2aab9428d95b992fb7d 100644
--- a/components/sync/device_info/device_info_data_type_controller.h
+++ b/components/sync/device_info/device_info_data_type_controller.h
@@ -17,15 +17,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;

Powered by Google App Engine
This is Rietveld 408576698