Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: core/fpdfapi/parser/cpdf_indirect_object_holder.h

Issue 2392603004: Move core/fpdfapi/fpdf_parser to core/fpdfapi/parser (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_INDIRECT_OBJECT_HOLDER_H_ 7 #ifndef CORE_FPDFAPI_PARSER_CPDF_INDIRECT_OBJECT_HOLDER_H_
8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_INDIRECT_OBJECT_HOLDER_H_ 8 #define CORE_FPDFAPI_PARSER_CPDF_INDIRECT_OBJECT_HOLDER_H_
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 12
13 #include "core/fxcrt/fx_system.h" 13 #include "core/fxcrt/fx_system.h"
14 14
15 class CPDF_Object; 15 class CPDF_Object;
16 16
17 class CPDF_IndirectObjectHolder { 17 class CPDF_IndirectObjectHolder {
18 public: 18 public:
(...skipping 19 matching lines...) Expand all
38 const_iterator end() const { return m_IndirectObjs.end(); } 38 const_iterator end() const { return m_IndirectObjs.end(); }
39 39
40 protected: 40 protected:
41 virtual CPDF_Object* ParseIndirectObject(uint32_t objnum); 41 virtual CPDF_Object* ParseIndirectObject(uint32_t objnum);
42 42
43 private: 43 private:
44 uint32_t m_LastObjNum; 44 uint32_t m_LastObjNum;
45 std::map<uint32_t, std::unique_ptr<CPDF_Object>> m_IndirectObjs; 45 std::map<uint32_t, std::unique_ptr<CPDF_Object>> m_IndirectObjs;
46 }; 46 };
47 47
48 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_INDIRECT_OBJECT_HOLDER_H_ 48 #endif // CORE_FPDFAPI_PARSER_CPDF_INDIRECT_OBJECT_HOLDER_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/parser/cpdf_hint_tables.cpp ('k') | core/fpdfapi/parser/cpdf_indirect_object_holder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698