OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FPDFAPI_FPDF_PARSER_CPDF_PARSER_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_CPDF_PARSER_H_ |
8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_PARSER_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_PARSER_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <set> | 12 #include <set> |
13 | 13 |
14 #include "core/fxcrt/include/fx_basic.h" | 14 #include "core/fxcrt/fx_basic.h" |
15 | 15 |
16 class CPDF_Array; | 16 class CPDF_Array; |
17 class CPDF_CryptoHandler; | 17 class CPDF_CryptoHandler; |
18 class CPDF_Dictionary; | 18 class CPDF_Dictionary; |
19 class CPDF_Document; | 19 class CPDF_Document; |
20 class CPDF_IndirectObjectHolder; | 20 class CPDF_IndirectObjectHolder; |
21 class CPDF_Object; | 21 class CPDF_Object; |
22 class CPDF_SecurityHandler; | 22 class CPDF_SecurityHandler; |
23 class CPDF_StreamAcc; | 23 class CPDF_StreamAcc; |
24 class CPDF_SyntaxParser; | 24 class CPDF_SyntaxParser; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 // Mapping of streams to their object caches. This is valid as long as the | 169 // Mapping of streams to their object caches. This is valid as long as the |
170 // streams in |m_ObjectStreamMap| are valid. | 170 // streams in |m_ObjectStreamMap| are valid. |
171 std::map<CPDF_StreamAcc*, StreamObjectCache> m_ObjCache; | 171 std::map<CPDF_StreamAcc*, StreamObjectCache> m_ObjCache; |
172 | 172 |
173 // All indirect object numbers that are being parsed. | 173 // All indirect object numbers that are being parsed. |
174 std::set<uint32_t> m_ParsingObjNums; | 174 std::set<uint32_t> m_ParsingObjNums; |
175 }; | 175 }; |
176 | 176 |
177 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_PARSER_H_ | 177 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_PARSER_H_ |
OLD | NEW |