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

Unified Diff: components/policy/core/common/cloud/device_management_service.cc

Issue 1902633006: Convert //components/policy from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and use namespace alias 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/policy/core/common/cloud/device_management_service.cc
diff --git a/components/policy/core/common/cloud/device_management_service.cc b/components/policy/core/common/cloud/device_management_service.cc
index 0796656919ef6f59d027b2801b83201ceb35fdc8..1a95f360697c32ebb4609095fb8ddaeda558732a 100644
--- a/components/policy/core/common/cloud/device_management_service.cc
+++ b/components/policy/core/common/cloud/device_management_service.cc
@@ -454,7 +454,7 @@ void DeviceManagementService::Shutdown() {
}
DeviceManagementService::DeviceManagementService(
- scoped_ptr<Configuration> configuration)
+ std::unique_ptr<Configuration> configuration)
: configuration_(std::move(configuration)),
initialized_(false),
weak_ptr_factory_(this) {

Powered by Google App Engine
This is Rietveld 408576698