| 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 #include "net/base/asn1_util.h" | 5 #include "net/cert/asn1_util.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 namespace asn1 { | 9 namespace asn1 { |
| 10 | 10 |
| 11 bool ParseElement(base::StringPiece* in, | 11 bool ParseElement(base::StringPiece* in, |
| 12 unsigned tag_value, | 12 unsigned tag_value, |
| 13 base::StringPiece* out, | 13 base::StringPiece* out, |
| 14 unsigned *out_header_len) { | 14 unsigned *out_header_len) { |
| 15 const uint8* data = reinterpret_cast<const uint8*>(in->data()); | 15 const uint8* data = reinterpret_cast<const uint8*>(in->data()); |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 } | 322 } |
| 323 } | 323 } |
| 324 | 324 |
| 325 urls_out->swap(tmp_urls_out); | 325 urls_out->swap(tmp_urls_out); |
| 326 return true; | 326 return true; |
| 327 } | 327 } |
| 328 | 328 |
| 329 } // namespace asn1 | 329 } // namespace asn1 |
| 330 | 330 |
| 331 } // namespace net | 331 } // namespace net |
| OLD | NEW |