Index: components/proximity_auth/cryptauth/cryptauth_enroller.h |
diff --git a/components/proximity_auth/cryptauth/cryptauth_enroller.h b/components/proximity_auth/cryptauth/cryptauth_enroller.h |
index c2c8b7e4a6cef5863fe09d2a0bc02037a4300690..c6d3e6eb33f84199d829149f3d3b3a609ef652f0 100644 |
--- a/components/proximity_auth/cryptauth/cryptauth_enroller.h |
+++ b/components/proximity_auth/cryptauth/cryptauth_enroller.h |
@@ -5,10 +5,10 @@ |
#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_H |
#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ENROLLER_H |
+#include <memory> |
#include <string> |
#include "base/callback_forward.h" |
-#include "base/memory/scoped_ptr.h" |
#include "components/proximity_auth/cryptauth/proto/cryptauth_api.pb.h" |
namespace proximity_auth { |
@@ -39,7 +39,7 @@ class CryptAuthEnrollerFactory { |
public: |
virtual ~CryptAuthEnrollerFactory() {} |
- virtual scoped_ptr<CryptAuthEnroller> CreateInstance() = 0; |
+ virtual std::unique_ptr<CryptAuthEnroller> CreateInstance() = 0; |
}; |
} // namespace proximity_auth |