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_BASE_PEM_TOKENIZER_H_ | 5 #ifndef NET_CERT_PEM_TOKENIZER_H_ |
6 #define NET_BASE_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/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 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 std::vector<PEMType> block_types_; | 67 std::vector<PEMType> block_types_; |
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_BASE_PEM_TOKENIZER_H_ | 77 #endif // NET_CERT_PEM_TOKENIZER_H_ |
OLD | NEW |