Index: components/proximity_auth/authenticator.h |
diff --git a/components/proximity_auth/authenticator.h b/components/proximity_auth/authenticator.h |
index f1cbbf302c15aaf082a207dff3f20d974be93e92..3882a764fd4c888317373d4de4121ae95f374aa7 100644 |
--- a/components/proximity_auth/authenticator.h |
+++ b/components/proximity_auth/authenticator.h |
@@ -5,8 +5,9 @@ |
#ifndef COMPONENTS_PROXIMITY_AUTH_AUTHENTICATOR_H |
#define COMPONENTS_PROXIMITY_AUTH_AUTHENTICATOR_H |
+#include <memory> |
+ |
#include "base/callback_forward.h" |
-#include "base/memory/scoped_ptr.h" |
namespace proximity_auth { |
@@ -33,7 +34,7 @@ class Authenticator { |
// contain the SecureContext used to securely exchange messages. Otherwise, it |
// will be null if the protocol fails. |
typedef base::Callback<void(Result result, |
- scoped_ptr<SecureContext> secure_context)> |
+ std::unique_ptr<SecureContext> secure_context)> |
AuthenticationCallback; |
virtual void Authenticate(const AuthenticationCallback& callback) = 0; |
}; |