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

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

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/cert/internal/name_constraints.cc ('k') | net/cert/x509_util_openssl.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) 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 <limits.h>
7 #include <stdlib.h> 8 #include <stdlib.h>
8 9
9 #include <algorithm> 10 #include <algorithm>
10 #include <map> 11 #include <map>
11 #include <string> 12 #include <string>
12 #include <vector> 13 #include <vector>
13 14
14 #include "base/base64.h" 15 #include "base/base64.h"
15 #include "base/lazy_instance.h" 16 #include "base/lazy_instance.h"
16 #include "base/logging.h" 17 #include "base/logging.h"
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 RemoveFromCache(cert_handle_); 761 RemoveFromCache(cert_handle_);
761 FreeOSCertHandle(cert_handle_); 762 FreeOSCertHandle(cert_handle_);
762 } 763 }
763 for (size_t i = 0; i < intermediate_ca_certs_.size(); ++i) { 764 for (size_t i = 0; i < intermediate_ca_certs_.size(); ++i) {
764 RemoveFromCache(intermediate_ca_certs_[i]); 765 RemoveFromCache(intermediate_ca_certs_[i]);
765 FreeOSCertHandle(intermediate_ca_certs_[i]); 766 FreeOSCertHandle(intermediate_ca_certs_[i]);
766 } 767 }
767 } 768 }
768 769
769 } // namespace net 770 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/internal/name_constraints.cc ('k') | net/cert/x509_util_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698