| 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 025a345d732d7f4a6c0c9a772493384f3358d05a..393cfe0b29e179026ad34487d00bb5e9f5ba2b05 100644
|
| --- a/components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc
|
| +++ b/components/proximity_auth/cryptauth/cryptauth_enroller_impl.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "components/proximity_auth/cryptauth/cryptauth_enroller_impl.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "components/proximity_auth/cryptauth/cryptauth_client_impl.h"
|
| #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h"
|
| @@ -54,10 +56,9 @@ std::string CreateEnrollmentPublicMetadata() {
|
| CryptAuthEnrollerImpl::CryptAuthEnrollerImpl(
|
| scoped_ptr<CryptAuthClientFactory> client_factory,
|
| scoped_ptr<SecureMessageDelegate> secure_message_delegate)
|
| - : client_factory_(client_factory.Pass()),
|
| - secure_message_delegate_(secure_message_delegate.Pass()),
|
| - weak_ptr_factory_(this) {
|
| -}
|
| + : client_factory_(std::move(client_factory)),
|
| + secure_message_delegate_(std::move(secure_message_delegate)),
|
| + weak_ptr_factory_(this) {}
|
|
|
| CryptAuthEnrollerImpl::~CryptAuthEnrollerImpl() {
|
| }
|
|
|