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

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

Issue 14223008: net: Update the include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/cert/pem_tokenizer.h ('k') | net/cert/x509_cert_types.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 #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 <string.h> 8 #include <string.h>
9 9
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/string_piece.h" 15 #include "base/strings/string_piece.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "net/base/hash_value.h" 17 #include "net/base/hash_value.h"
18 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
19 19
20 #if defined(OS_MACOSX) && !defined(OS_IOS) 20 #if defined(OS_MACOSX) && !defined(OS_IOS)
21 #include <Security/x509defs.h> 21 #include <Security/x509defs.h>
22 #endif 22 #endif
23 23
24 namespace base { 24 namespace base {
25 class Time; 25 class Time;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Attempts to parse |raw_date|, an ASN.1 date/time string encoded as 129 // Attempts to parse |raw_date|, an ASN.1 date/time string encoded as
130 // |format|, and writes the result into |*time|. If an invalid date is 130 // |format|, and writes the result into |*time|. If an invalid date is
131 // specified, or if parsing fails, returns false, and |*time| will not be 131 // specified, or if parsing fails, returns false, and |*time| will not be
132 // updated. 132 // updated.
133 bool ParseCertificateDate(const base::StringPiece& raw_date, 133 bool ParseCertificateDate(const base::StringPiece& raw_date,
134 CertDateFormat format, 134 CertDateFormat format,
135 base::Time* time); 135 base::Time* time);
136 } // namespace net 136 } // namespace net
137 137
138 #endif // NET_CERT_X509_CERT_TYPES_H_ 138 #endif // NET_CERT_X509_CERT_TYPES_H_
OLDNEW
« no previous file with comments | « net/cert/pem_tokenizer.h ('k') | net/cert/x509_cert_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698