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

Side by Side Diff: net/cert/x509_certificate_win.cc

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/cert/x509_certificate.h" 5 #include "net/cert/x509_certificate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/free_deleter.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/numerics/safe_conversions.h" 10 #include "base/numerics/safe_conversions.h"
10 #include "base/pickle.h" 11 #include "base/pickle.h"
11 #include "base/sha1.h" 12 #include "base/sha1.h"
12 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "crypto/capi_util.h" 15 #include "crypto/capi_util.h"
15 #include "crypto/scoped_capi_types.h" 16 #include "crypto/scoped_capi_types.h"
16 #include "crypto/sha2.h" 17 #include "crypto/sha2.h"
17 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 X509_ASN_ENCODING, 489 X509_ASN_ENCODING,
489 CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT, 490 CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT,
490 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), 491 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)),
491 CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT, 492 CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT,
492 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)), 493 reinterpret_cast<void*>(const_cast<PCERT_CONTEXT>(cert_handle)),
493 0, 494 0,
494 NULL); 495 NULL);
495 } 496 }
496 497
497 } // namespace net 498 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698