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

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: Use ThreadChecker instead of NonThreadSafe. 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..a538d0a9af337f47cb22d5bf78a1307b13bc0acd 100644
--- a/components/sync/device_info/device_info_data_type_controller.h
+++ b/components/sync/device_info/device_info_data_type_controller.h
@@ -18,14 +18,12 @@ namespace sync_driver {
class DeviceInfoDataTypeController : public UIDataTypeController {
public:
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