Index: remoting/base/rsa_key_pair.h |
diff --git a/remoting/base/rsa_key_pair.h b/remoting/base/rsa_key_pair.h |
index 03e791f40ebec90c2c509770a08dd73de63402fe..a4190b35647f954e934f46c9aa290c28e46734b2 100644 |
--- a/remoting/base/rsa_key_pair.h |
+++ b/remoting/base/rsa_key_pair.h |
@@ -5,11 +5,11 @@ |
#ifndef REMOTING_BASE_RSA_KEY_PAIR_H_ |
#define REMOTING_BASE_RSA_KEY_PAIR_H_ |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
namespace crypto { |
class RSAPrivateKey; |
@@ -43,10 +43,10 @@ class RsaKeyPair : public base::RefCountedThreadSafe<RsaKeyPair> { |
private: |
friend class base::RefCountedThreadSafe<RsaKeyPair>; |
- RsaKeyPair(scoped_ptr<crypto::RSAPrivateKey> key); |
+ RsaKeyPair(std::unique_ptr<crypto::RSAPrivateKey> key); |
virtual ~RsaKeyPair(); |
- scoped_ptr<crypto::RSAPrivateKey> key_; |
+ std::unique_ptr<crypto::RSAPrivateKey> key_; |
DISALLOW_COPY_AND_ASSIGN(RsaKeyPair); |
}; |