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

Unified Diff: components/sync_driver/device_info_model_type_controller.h

Issue 1907683003: Convert //components/sync_driver from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix, address feedback Created 4 years, 8 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_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 fb189589318551bbfb58d54b00ecfa743c76b082..e1485b9f7739b128c1225e53f82e1daf8e5771fd 100644
--- a/components/sync_driver/device_info_model_type_controller.h
+++ b/components/sync_driver/device_info_model_type_controller.h
@@ -5,7 +5,8 @@
#ifndef COMPONENTS_SYNC_DRIVER_DEVICE_INFO_MODEL_TYPE_CONTROLLER_H_
#define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_MODEL_TYPE_CONTROLLER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "components/sync_driver/local_device_info_provider.h"
#include "components/sync_driver/ui_model_type_controller.h"
@@ -29,7 +30,8 @@ class DeviceInfoModelTypeController : public UIModelTypeController {
~DeviceInfoModelTypeController() override;
sync_driver::LocalDeviceInfoProvider* const local_device_info_provider_;
- scoped_ptr<sync_driver::LocalDeviceInfoProvider::Subscription> subscription_;
+ std::unique_ptr<sync_driver::LocalDeviceInfoProvider::Subscription>
+ subscription_;
DISALLOW_COPY_AND_ASSIGN(DeviceInfoModelTypeController);
};
« no previous file with comments | « components/sync_driver/device_info_data_type_controller_unittest.cc ('k') | components/sync_driver/device_info_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698