Index: components/proximity_auth/cryptauth/cryptauth_client.h |
diff --git a/components/proximity_auth/cryptauth/cryptauth_client.h b/components/proximity_auth/cryptauth/cryptauth_client.h |
index d0bf1ab9e0710cf42eb9916f4cc62cf428ae3bd8..706f5ee09aeae3b2ed0cfde16be2ec7c59c6e989 100644 |
--- a/components/proximity_auth/cryptauth/cryptauth_client.h |
+++ b/components/proximity_auth/cryptauth/cryptauth_client.h |
@@ -5,11 +5,11 @@ |
#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_CLIENT_H |
#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_CLIENT_H |
+#include <memory> |
#include <string> |
#include "base/callback_forward.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
namespace cryptauth { |
class DeviceClassifier; |
@@ -107,7 +107,7 @@ class CryptAuthClientFactory { |
public: |
virtual ~CryptAuthClientFactory() {} |
- virtual scoped_ptr<CryptAuthClient> CreateInstance() = 0; |
+ virtual std::unique_ptr<CryptAuthClient> CreateInstance() = 0; |
}; |
} // namespace proximity_auth |