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

Unified Diff: components/sync_driver/device_info_data_type_controller.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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/device_info.cc ('k') | components/sync_driver/device_info_data_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_data_type_controller.h
diff --git a/components/sync_driver/device_info_data_type_controller.h b/components/sync_driver/device_info_data_type_controller.h
deleted file mode 100644
index 87e5b2760cf70bd4874014d775b0e6266951a065..0000000000000000000000000000000000000000
--- a/components/sync_driver/device_info_data_type_controller.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 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_DATA_TYPE_CONTROLLER_H_
-#define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_DATA_TYPE_CONTROLLER_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/single_thread_task_runner.h"
-#include "components/sync_driver/local_device_info_provider.h"
-#include "components/sync_driver/ui_data_type_controller.h"
-
-namespace sync_driver {
-
-// DataTypeController for DEVICE_INFO model type.
-class DeviceInfoDataTypeController : public UIDataTypeController {
- public:
- DeviceInfoDataTypeController(
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- const base::Closure& error_callback,
- SyncClient* sync_client,
- LocalDeviceInfoProvider* local_device_info_provider);
-
- private:
- ~DeviceInfoDataTypeController() override;
-
- // UIDataTypeController implementations.
- bool StartModels() override;
- void StopModels() override;
-
- // Called by LocalDeviceInfoProvider when the local device into becomes
- // available.
- void OnLocalDeviceInfoLoaded();
-
- LocalDeviceInfoProvider* const local_device_info_provider_;
- std::unique_ptr<LocalDeviceInfoProvider::Subscription> subscription_;
- DISALLOW_COPY_AND_ASSIGN(DeviceInfoDataTypeController);
-};
-
-} // namespace sync_driver
-
-#endif // COMPONENTS_SYNC_DRIVER_DEVICE_INFO_DATA_TYPE_CONTROLLER_H_
« no previous file with comments | « components/sync_driver/device_info.cc ('k') | components/sync_driver/device_info_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698