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

Unified Diff: components/sync_driver/device_info_model_type_controller.h

Issue 2017963002: [Sync] Remove DeviceInfoModelTypeController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
deleted file mode 100644
index 16979f9952a32c43e2416a9c8cde18d2e13c4d9d..0000000000000000000000000000000000000000
--- a/components/sync_driver/device_info_model_type_controller.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SYNC_DRIVER_DEVICE_INFO_MODEL_TYPE_CONTROLLER_H_
-#define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_MODEL_TYPE_CONTROLLER_H_
-
-#include <memory>
-
-#include "components/sync_driver/local_device_info_provider.h"
-#include "components/sync_driver/ui_model_type_controller.h"
-
-namespace sync_driver {
-class SyncClient;
-}
-
-namespace sync_driver_v2 {
-
-// DataTypeController for DEVICE_INFO model type.
-class DeviceInfoModelTypeController : public UIModelTypeController {
- public:
- DeviceInfoModelTypeController(
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- const base::Closure& error_callback,
- sync_driver::SyncClient* sync_client);
-
- private:
- ~DeviceInfoModelTypeController() override;
-
- std::unique_ptr<sync_driver::LocalDeviceInfoProvider::Subscription>
- subscription_;
- DISALLOW_COPY_AND_ASSIGN(DeviceInfoModelTypeController);
-};
-
-} // namespace sync_driver_v2
-
-#endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_MODEL_TYPE_CONTROLLER_H_
« 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