Index: components/ownership/mock_owner_key_util.h |
diff --git a/components/ownership/mock_owner_key_util.h b/components/ownership/mock_owner_key_util.h |
index 2ccd4b21fc4d52996e45e9d17da8e2c9760ccc55..86c379887350bf9b019a624383b533eb492bd3f1 100644 |
--- a/components/ownership/mock_owner_key_util.h |
+++ b/components/ownership/mock_owner_key_util.h |
@@ -7,12 +7,12 @@ |
#include <stdint.h> |
+#include <memory> |
#include <vector> |
#include "base/compiler_specific.h" |
#include "base/files/file_path.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "components/ownership/owner_key_util.h" |
#include "components/ownership/ownership_export.h" |
@@ -46,7 +46,7 @@ class OWNERSHIP_EXPORT MockOwnerKeyUtil : public OwnerKeyUtil { |
void SetPublicKeyFromPrivateKey(const crypto::RSAPrivateKey& key); |
// Sets the private key (also configures the public key). |
- void SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key); |
+ void SetPrivateKey(std::unique_ptr<crypto::RSAPrivateKey> key); |
private: |
~MockOwnerKeyUtil() override; |