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