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

Side by Side Diff: net/ssl/openssl_client_key_store.h

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: 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 unified diff | Download patch
« no previous file with comments | « net/ssl/default_channel_id_store_unittest.cc ('k') | net/ssl/openssl_client_key_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ 5 #ifndef NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_
6 #define NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ 6 #define NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_
7 7
8 #include <openssl/evp.h> 8 #include <openssl/evp.h>
9 9
10 #include <memory>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "crypto/openssl_util.h" 15 #include "crypto/openssl_util.h"
16 #include "crypto/scoped_openssl_types.h" 16 #include "crypto/scoped_openssl_types.h"
17 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 class X509Certificate; 21 class X509Certificate;
22 22
23 // OpenSSLClientKeyStore implements an in-memory store for client 23 // OpenSSLClientKeyStore implements an in-memory store for client
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 std::vector<KeyPair> pairs_; 91 std::vector<KeyPair> pairs_;
92 92
93 friend struct base::DefaultSingletonTraits<OpenSSLClientKeyStore>; 93 friend struct base::DefaultSingletonTraits<OpenSSLClientKeyStore>;
94 94
95 DISALLOW_COPY_AND_ASSIGN(OpenSSLClientKeyStore); 95 DISALLOW_COPY_AND_ASSIGN(OpenSSLClientKeyStore);
96 }; 96 };
97 97
98 } // namespace net 98 } // namespace net
99 99
100 #endif // NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ 100 #endif // NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_
OLDNEW
« no previous file with comments | « net/ssl/default_channel_id_store_unittest.cc ('k') | net/ssl/openssl_client_key_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698