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

Unified Diff: components/sync_driver/device_info_data_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_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
index 217f47cdf9b1c6800f1fffbffaae5eaf648f6020..87e5b2760cf70bd4874014d775b0e6266951a065 100644
--- a/components/sync_driver/device_info_data_type_controller.h
+++ b/components/sync_driver/device_info_data_type_controller.h
@@ -5,8 +5,9 @@
#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/memory/scoped_ptr.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"
@@ -34,7 +35,7 @@ class DeviceInfoDataTypeController : public UIDataTypeController {
void OnLocalDeviceInfoLoaded();
LocalDeviceInfoProvider* const local_device_info_provider_;
- scoped_ptr<LocalDeviceInfoProvider::Subscription> subscription_;
+ std::unique_ptr<LocalDeviceInfoProvider::Subscription> subscription_;
DISALLOW_COPY_AND_ASSIGN(DeviceInfoDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698