| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PEM_TOKENIZER_H_ | 5 #ifndef NET_CERT_PEM_TOKENIZER_H_ |
| 6 #define NET_CERT_PEM_TOKENIZER_H_ | 6 #define NET_CERT_PEM_TOKENIZER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/string_piece.h" | 11 #include "base/strings/string_piece.h" |
| 12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 // PEMTokenizer is a utility class for the parsing of data encapsulated | 16 // PEMTokenizer is a utility class for the parsing of data encapsulated |
| 17 // using RFC 1421, Privacy Enhancement for Internet Electronic Mail. It | 17 // using RFC 1421, Privacy Enhancement for Internet Electronic Mail. It |
| 18 // does not implement the full specification, most notably it does not | 18 // does not implement the full specification, most notably it does not |
| 19 // support the Encapsulated Header Portion described in Section 4.4. | 19 // support the Encapsulated Header Portion described in Section 4.4. |
| 20 class NET_EXPORT_PRIVATE PEMTokenizer { | 20 class NET_EXPORT_PRIVATE PEMTokenizer { |
| 21 public: | 21 public: |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 // The raw (Base64-decoded) data of the last successfully decoded block. | 69 // The raw (Base64-decoded) data of the last successfully decoded block. |
| 70 std::string data_; | 70 std::string data_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(PEMTokenizer); | 72 DISALLOW_COPY_AND_ASSIGN(PEMTokenizer); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace net | 75 } // namespace net |
| 76 | 76 |
| 77 #endif // NET_CERT_PEM_TOKENIZER_H_ | 77 #endif // NET_CERT_PEM_TOKENIZER_H_ |
| OLD | NEW |