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

Unified Diff: chrome/browser/sync/glue/device_info_data_type_controller.h

Issue 597423002: Device info datatype should be moved to components/sync_driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor CR feedback addressed. Created 6 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: chrome/browser/sync/glue/device_info_data_type_controller.h
diff --git a/chrome/browser/sync/glue/device_info_data_type_controller.h b/chrome/browser/sync/glue/device_info_data_type_controller.h
deleted file mode 100644
index 38c7b45f330c43b3d8d3105852fdd2dbadefc431..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/glue/device_info_data_type_controller.h
+++ /dev/null
@@ -1,38 +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 CHROME_BROWSER_SYNC_GLUE_DEVICE_INFO_DATA_TYPE_CONTROLLER_H_
-#define CHROME_BROWSER_SYNC_GLUE_DEVICE_INFO_DATA_TYPE_CONTROLLER_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/sync/glue/local_device_info_provider.h"
-#include "components/sync_driver/ui_data_type_controller.h"
-
-namespace browser_sync {
-
-// DataTypeController for DEVICE_INFO model type.
-class DeviceInfoDataTypeController : public sync_driver::UIDataTypeController {
- public:
- DeviceInfoDataTypeController(
- sync_driver::SyncApiComponentFactory* sync_factory,
- LocalDeviceInfoProvider* local_device_info_provider);
-
- private:
- virtual ~DeviceInfoDataTypeController();
-
- // UIDataTypeController implementations.
- virtual bool StartModels() OVERRIDE;
-
- // Called by LocalDeviceInfoProvider when the local device into becomes
- // available.
- void OnLocalDeviceInfoLoaded();
-
- LocalDeviceInfoProvider* const local_device_info_provider_;
- scoped_ptr<LocalDeviceInfoProvider::Subscription> subscription_;
- DISALLOW_COPY_AND_ASSIGN(DeviceInfoDataTypeController);
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_GLUE_DEVICE_INFO_DATA_TYPE_CONTROLLER_H_
« no previous file with comments | « chrome/browser/sync/glue/device_info.cc ('k') | chrome/browser/sync/glue/device_info_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698