| OLD | NEW |
| 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_BASE_ASN1_UTIL_H_ | 5 #ifndef NET_CERT_ASN1_UTIL_H_ |
| 6 #define NET_BASE_ASN1_UTIL_H_ | 6 #define NET_CERT_ASN1_UTIL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string_piece.h" | 10 #include "base/string_piece.h" |
| 11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 namespace asn1 { | 15 namespace asn1 { |
| 16 | 16 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // having several CRLs with one location is equivalent to having one CRL with | 83 // having several CRLs with one location is equivalent to having one CRL with |
| 84 // several locations as far as a CRL filter is concerned. | 84 // several locations as far as a CRL filter is concerned. |
| 85 NET_EXPORT_PRIVATE bool ExtractCRLURLsFromDERCert( | 85 NET_EXPORT_PRIVATE bool ExtractCRLURLsFromDERCert( |
| 86 base::StringPiece cert, | 86 base::StringPiece cert, |
| 87 std::vector<base::StringPiece>* urls_out); | 87 std::vector<base::StringPiece>* urls_out); |
| 88 | 88 |
| 89 } // namespace asn1 | 89 } // namespace asn1 |
| 90 | 90 |
| 91 } // namespace net | 91 } // namespace net |
| 92 | 92 |
| 93 #endif // NET_BASE_ASN1_UTIL_H_ | 93 #endif // NET_CERT_ASN1_UTIL_H_ |
| OLD | NEW |