Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(820)

Unified Diff: remoting/base/rsa_key_pair.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/compound_buffer_unittest.cc ('k') | remoting/base/rsa_key_pair.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « remoting/base/compound_buffer_unittest.cc ('k') | remoting/base/rsa_key_pair.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698