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 #include "core/fpdfapi/fpdf_parser/include/ipdf_data_avail.h" |
| 8 |
7 #include "core/fpdfapi/fpdf_parser/cpdf_data_avail.h" | 9 #include "core/fpdfapi/fpdf_parser/cpdf_data_avail.h" |
8 #include "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h" | 10 #include "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h" |
9 #include "core/include/fpdfapi/cpdf_array.h" | 11 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
10 #include "core/include/fpdfapi/cpdf_dictionary.h" | 12 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
11 #include "core/include/fpdfapi/cpdf_document.h" | 13 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
12 #include "core/include/fpdfapi/cpdf_name.h" | 14 #include "core/fpdfapi/fpdf_parser/include/cpdf_name.h" |
13 #include "core/include/fpdfapi/cpdf_number.h" | 15 #include "core/fpdfapi/fpdf_parser/include/cpdf_number.h" |
14 #include "core/include/fpdfapi/cpdf_reference.h" | 16 #include "core/fpdfapi/fpdf_parser/include/cpdf_reference.h" |
15 #include "core/include/fpdfapi/cpdf_stream.h" | 17 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" |
| 18 #include "core/fpdfapi/include/cpdf_modulemgr.h" |
16 #include "core/include/fxcrt/fx_ext.h" | 19 #include "core/include/fxcrt/fx_ext.h" |
17 #include "core/include/fxcrt/fx_safe_types.h" | 20 #include "core/include/fxcrt/fx_safe_types.h" |
18 #include "third_party/base/stl_util.h" | 21 #include "third_party/base/stl_util.h" |
19 | 22 |
20 IPDF_DataAvail::IPDF_DataAvail(IPDF_DataAvail::FileAvail* pFileAvail, | 23 IPDF_DataAvail::IPDF_DataAvail(IPDF_DataAvail::FileAvail* pFileAvail, |
21 IFX_FileRead* pFileRead) | 24 IFX_FileRead* pFileRead) |
22 : m_pFileAvail(pFileAvail), m_pFileRead(pFileRead) {} | 25 : m_pFileAvail(pFileAvail), m_pFileRead(pFileRead) {} |
23 | 26 |
24 IPDF_DataAvail::~IPDF_DataAvail() {} | 27 IPDF_DataAvail::~IPDF_DataAvail() {} |
25 | 28 |
(...skipping 1806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1832 return FormAvailable; | 1835 return FormAvailable; |
1833 } | 1836 } |
1834 | 1837 |
1835 CPDF_DataAvail::PageNode::PageNode() : m_type(PDF_PAGENODE_UNKNOWN) {} | 1838 CPDF_DataAvail::PageNode::PageNode() : m_type(PDF_PAGENODE_UNKNOWN) {} |
1836 | 1839 |
1837 CPDF_DataAvail::PageNode::~PageNode() { | 1840 CPDF_DataAvail::PageNode::~PageNode() { |
1838 for (int32_t i = 0; i < m_childNode.GetSize(); ++i) | 1841 for (int32_t i = 0; i < m_childNode.GetSize(); ++i) |
1839 delete m_childNode[i]; | 1842 delete m_childNode[i]; |
1840 m_childNode.RemoveAll(); | 1843 m_childNode.RemoveAll(); |
1841 } | 1844 } |
OLD | NEW |