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

Side by Side Diff: core/fpdfapi/edit/cpdf_creator.h

Issue 2611413002: Remove CFX_ArrayTemplate from fpdfapi (Closed)
Patch Set: comment Created 3 years, 11 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
« no previous file with comments | « no previous file | core/fpdfapi/edit/fpdf_edit_create.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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_EDIT_CPDF_CREATOR_H_ 7 #ifndef CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_
8 #define CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ 8 #define CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector>
11 12
12 #include "core/fxcrt/cfx_retain_ptr.h" 13 #include "core/fxcrt/cfx_retain_ptr.h"
13 #include "core/fxcrt/fx_basic.h" 14 #include "core/fxcrt/fx_basic.h"
14 15
15 class CPDF_Array; 16 class CPDF_Array;
16 class CPDF_CryptoHandler; 17 class CPDF_CryptoHandler;
17 class CPDF_Dictionary; 18 class CPDF_Dictionary;
18 class CPDF_Document; 19 class CPDF_Document;
19 class CPDF_Object; 20 class CPDF_Object;
20 class CPDF_Parser; 21 class CPDF_Parser;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 std::unique_ptr<CPDF_XRefStream> m_pXRefStream; 88 std::unique_ptr<CPDF_XRefStream> m_pXRefStream;
88 int32_t m_ObjectStreamSize; 89 int32_t m_ObjectStreamSize;
89 uint32_t m_dwLastObjNum; 90 uint32_t m_dwLastObjNum;
90 CFX_FileBufferArchive m_File; 91 CFX_FileBufferArchive m_File;
91 FX_FILESIZE m_Offset; 92 FX_FILESIZE m_Offset;
92 int32_t m_iStage; 93 int32_t m_iStage;
93 uint32_t m_dwFlags; 94 uint32_t m_dwFlags;
94 FX_POSITION m_Pos; 95 FX_POSITION m_Pos;
95 FX_FILESIZE m_XrefStart; 96 FX_FILESIZE m_XrefStart;
96 CFX_FileSizeListArray m_ObjectOffset; 97 CFX_FileSizeListArray m_ObjectOffset;
97 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray; 98 std::vector<uint32_t> m_NewObjNumArray; // Sorted, ascending.
98 std::unique_ptr<CPDF_Array> m_pIDArray; 99 std::unique_ptr<CPDF_Array> m_pIDArray;
99 int32_t m_FileVersion; 100 int32_t m_FileVersion;
100 }; 101 };
101 102
102 #endif // CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_ 103 #endif // CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_
OLDNEW
« no previous file with comments | « no previous file | core/fpdfapi/edit/fpdf_edit_create.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698