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

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

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: and more! 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
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 "net/ssl/ssl_platform_key.h" 5 #include "net/ssl/ssl_platform_key.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <NCrypt.h> 8 #include <NCrypt.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include <openssl/bn.h> 15 #include <openssl/bn.h>
16 #include <openssl/ecdsa.h> 16 #include <openssl/ecdsa.h>
17 #include <openssl/evp.h> 17 #include <openssl/evp.h>
18 #include <openssl/x509.h> 18 #include <openssl/x509.h>
19 19
20 #include "base/logging.h" 20 #include "base/logging.h"
21 #include "base/macros.h" 21 #include "base/macros.h"
22 #include "base/sequenced_task_runner.h"
23 #include "crypto/openssl_util.h" 22 #include "crypto/openssl_util.h"
24 #include "crypto/scoped_capi_types.h" 23 #include "crypto/scoped_capi_types.h"
25 #include "crypto/wincrypt_shim.h" 24 #include "crypto/wincrypt_shim.h"
26 #include "net/base/net_errors.h" 25 #include "net/base/net_errors.h"
27 #include "net/cert/x509_certificate.h" 26 #include "net/cert/x509_certificate.h"
28 #include "net/ssl/ssl_platform_key_util.h" 27 #include "net/ssl/ssl_platform_key_util.h"
29 #include "net/ssl/ssl_private_key.h" 28 #include "net/ssl/ssl_private_key.h"
30 #include "net/ssl/threaded_ssl_private_key.h" 29 #include "net/ssl/threaded_ssl_private_key.h"
31 30
32 namespace net { 31 namespace net {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 delegate.reset(new SSLPlatformKeyCNG(prov_or_key, key_type, max_length)); 280 delegate.reset(new SSLPlatformKeyCNG(prov_or_key, key_type, max_length));
282 } else { 281 } else {
283 DCHECK(SSLPrivateKey::Type::RSA == key_type); 282 DCHECK(SSLPrivateKey::Type::RSA == key_type);
284 delegate.reset(new SSLPlatformKeyCAPI(prov_or_key, key_spec, max_length)); 283 delegate.reset(new SSLPlatformKeyCAPI(prov_or_key, key_spec, max_length));
285 } 284 }
286 return make_scoped_refptr(new ThreadedSSLPrivateKey( 285 return make_scoped_refptr(new ThreadedSSLPrivateKey(
287 std::move(delegate), GetSSLPlatformKeyTaskRunner())); 286 std::move(delegate), GetSSLPlatformKeyTaskRunner()));
288 } 287 }
289 288
290 } // namespace net 289 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698