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

Unified Diff: components/sync_driver/device_info_model_type_controller.h

Issue 1717433002: [USS] Break NonBlockingDataTypeController into UI specific one and non-UI specific one (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 10 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
« no previous file with comments | « components/sync_driver/BUILD.gn ('k') | components/sync_driver/device_info_model_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/device_info_model_type_controller.h
diff --git a/components/sync_driver/device_info_model_type_controller.h b/components/sync_driver/device_info_model_type_controller.h
index ae4e8377e18e7031903a43ffeceeb4bc48b2b03a..fb189589318551bbfb58d54b00ecfa743c76b082 100644
--- a/components/sync_driver/device_info_model_type_controller.h
+++ b/components/sync_driver/device_info_model_type_controller.h
@@ -7,7 +7,7 @@
#include "base/memory/scoped_ptr.h"
#include "components/sync_driver/local_device_info_provider.h"
-#include "components/sync_driver/non_blocking_data_type_controller.h"
+#include "components/sync_driver/ui_model_type_controller.h"
namespace sync_driver {
class LocalDeviceInfoProvider;
@@ -17,7 +17,7 @@ class SyncClient;
namespace sync_driver_v2 {
// DataTypeController for DEVICE_INFO model type.
-class DeviceInfoModelTypeController : public NonBlockingDataTypeController {
+class DeviceInfoModelTypeController : public UIModelTypeController {
public:
DeviceInfoModelTypeController(
const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
@@ -25,10 +25,6 @@ class DeviceInfoModelTypeController : public NonBlockingDataTypeController {
sync_driver::SyncClient* sync_client,
sync_driver::LocalDeviceInfoProvider* local_device_info_provider);
- // NonBlockingDataTypeController implementations.
- bool RunOnModelThread(const tracked_objects::Location& from_here,
- const base::Closure& task) override;
-
private:
~DeviceInfoModelTypeController() override;
« no previous file with comments | « components/sync_driver/BUILD.gn ('k') | components/sync_driver/device_info_model_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698