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

Side by Side Diff: net/ssl/ssl_platform_key_nss.cc

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: merge up to r429325 Created 4 years, 1 month 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/ssl_platform_key_mac.cc ('k') | net/ssl/ssl_platform_key_util.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include <cert.h> 5 #include <cert.h>
6 #include <keyhi.h> 6 #include <keyhi.h>
7 #include <pk11pub.h> 7 #include <pk11pub.h>
8 #include <prerror.h> 8 #include <prerror.h>
9 9
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/sequenced_task_runner.h"
16 #include "crypto/scoped_nss_types.h" 15 #include "crypto/scoped_nss_types.h"
17 #include "net/cert/x509_certificate.h" 16 #include "net/cert/x509_certificate.h"
18 #include "net/ssl/client_key_store.h" 17 #include "net/ssl/client_key_store.h"
19 #include "net/ssl/ssl_platform_key.h" 18 #include "net/ssl/ssl_platform_key.h"
20 #include "net/ssl/ssl_platform_key_util.h" 19 #include "net/ssl/ssl_platform_key_util.h"
21 #include "net/ssl/ssl_private_key.h" 20 #include "net/ssl/ssl_private_key.h"
22 #include "net/ssl/threaded_ssl_private_key.h" 21 #include "net/ssl/threaded_ssl_private_key.h"
23 #include "third_party/boringssl/src/include/openssl/bn.h" 22 #include "third_party/boringssl/src/include/openssl/bn.h"
24 #include "third_party/boringssl/src/include/openssl/bytestring.h" 23 #include "third_party/boringssl/src/include/openssl/bytestring.h"
25 #include "third_party/boringssl/src/include/openssl/ec.h" 24 #include "third_party/boringssl/src/include/openssl/ec.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 size_t max_length; 171 size_t max_length;
173 if (!GetClientCertInfo(certificate, &type, &max_length)) 172 if (!GetClientCertInfo(certificate, &type, &max_length))
174 return nullptr; 173 return nullptr;
175 174
176 return make_scoped_refptr(new ThreadedSSLPrivateKey( 175 return make_scoped_refptr(new ThreadedSSLPrivateKey(
177 base::MakeUnique<SSLPlatformKeyNSS>(type, max_length, std::move(key)), 176 base::MakeUnique<SSLPlatformKeyNSS>(type, max_length, std::move(key)),
178 GetSSLPlatformKeyTaskRunner())); 177 GetSSLPlatformKeyTaskRunner()));
179 } 178 }
180 179
181 } // namespace net 180 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/ssl_platform_key_mac.cc ('k') | net/ssl/ssl_platform_key_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698