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

Unified Diff: components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc

Issue 1912433002: Convert //components/proximity_auth from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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/proximity_auth/cryptauth/cryptauth_enroller_impl.cc
diff --git a/components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc b/components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc
index 393cfe0b29e179026ad34487d00bb5e9f5ba2b05..406a5946099c2cc2b5007393fe318a1001a31c19 100644
--- a/components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc
+++ b/components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc
@@ -54,8 +54,8 @@ std::string CreateEnrollmentPublicMetadata() {
} // namespace
CryptAuthEnrollerImpl::CryptAuthEnrollerImpl(
- scoped_ptr<CryptAuthClientFactory> client_factory,
- scoped_ptr<SecureMessageDelegate> secure_message_delegate)
+ std::unique_ptr<CryptAuthClientFactory> client_factory,
+ std::unique_ptr<SecureMessageDelegate> secure_message_delegate)
: client_factory_(std::move(client_factory)),
secure_message_delegate_(std::move(secure_message_delegate)),
weak_ptr_factory_(this) {}

Powered by Google App Engine
This is Rietveld 408576698