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

Side by Side Diff: net/cert/x509_cert_types.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/test_root_certs_nss.cc ('k') | net/cert/x509_certificate.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 (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 #ifndef NET_CERT_X509_CERT_TYPES_H_ 5 #ifndef NET_CERT_X509_CERT_TYPES_H_
6 #define NET_CERT_X509_CERT_TYPES_H_ 6 #define NET_CERT_X509_CERT_TYPES_H_
7 7
8 #include <stddef.h>
8 #include <string.h> 9 #include <string.h>
9 10
10 #include <map> 11 #include <map>
11 #include <set> 12 #include <set>
12 #include <string> 13 #include <string>
13 #include <vector> 14 #include <vector>
14 15
15 #include "base/logging.h" 16 #include "base/logging.h"
16 #include "base/strings/string_piece.h" 17 #include "base/strings/string_piece.h"
17 #include "build/build_config.h" 18 #include "build/build_config.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Attempts to parse |raw_date|, an ASN.1 date/time string encoded as 90 // Attempts to parse |raw_date|, an ASN.1 date/time string encoded as
90 // |format|, and writes the result into |*time|. If an invalid date is 91 // |format|, and writes the result into |*time|. If an invalid date is
91 // specified, or if parsing fails, returns false, and |*time| will not be 92 // specified, or if parsing fails, returns false, and |*time| will not be
92 // updated. 93 // updated.
93 NET_EXPORT_PRIVATE bool ParseCertificateDate(const base::StringPiece& raw_date, 94 NET_EXPORT_PRIVATE bool ParseCertificateDate(const base::StringPiece& raw_date,
94 CertDateFormat format, 95 CertDateFormat format,
95 base::Time* time); 96 base::Time* time);
96 } // namespace net 97 } // namespace net
97 98
98 #endif // NET_CERT_X509_CERT_TYPES_H_ 99 #endif // NET_CERT_X509_CERT_TYPES_H_
OLDNEW
« no previous file with comments | « net/cert/test_root_certs_nss.cc ('k') | net/cert/x509_certificate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698