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

Side by Side Diff: core/fpdfapi/fpdf_edit/include/cpdf_creator.h

Issue 1902713003: Cleanups from prior CLs. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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 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_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ 7 #ifndef CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_
8 #define CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ 8 #define CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_
9 9
10 #include <memory>
11
10 #include "core/fxcrt/include/fx_basic.h" 12 #include "core/fxcrt/include/fx_basic.h"
11 13
12 class CPDF_Array; 14 class CPDF_Array;
13 class CPDF_CryptoHandler; 15 class CPDF_CryptoHandler;
14 class CPDF_Dictionary; 16 class CPDF_Dictionary;
15 class CPDF_Document; 17 class CPDF_Document;
16 class CPDF_Object; 18 class CPDF_Object;
17 class CPDF_Parser; 19 class CPDF_Parser;
18 class CPDF_XRefStream; 20 class CPDF_XRefStream;
19 21
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 uint32_t objnum, 73 uint32_t objnum,
72 CPDF_CryptoHandler* pCrypto); 74 CPDF_CryptoHandler* pCrypto);
73 75
74 CPDF_Document* m_pDocument; 76 CPDF_Document* m_pDocument;
75 CPDF_Parser* m_pParser; 77 CPDF_Parser* m_pParser;
76 FX_BOOL m_bCompress; 78 FX_BOOL m_bCompress;
77 FX_BOOL m_bSecurityChanged; 79 FX_BOOL m_bSecurityChanged;
78 CPDF_Dictionary* m_pEncryptDict; 80 CPDF_Dictionary* m_pEncryptDict;
79 uint32_t m_dwEnryptObjNum; 81 uint32_t m_dwEnryptObjNum;
80 FX_BOOL m_bEncryptCloned; 82 FX_BOOL m_bEncryptCloned;
81 FX_BOOL m_bStandardSecurity; 83 std::unique_ptr<CPDF_CryptoHandler> m_pCryptoHandler;
82 CPDF_CryptoHandler* m_pCryptoHandler;
83 FX_BOOL m_bNewCrypto;
84 FX_BOOL m_bEncryptMetadata; 84 FX_BOOL m_bEncryptMetadata;
85 CPDF_Object* m_pMetadata; 85 CPDF_Object* m_pMetadata;
86 CPDF_XRefStream* m_pXRefStream; 86 CPDF_XRefStream* m_pXRefStream;
87 int32_t m_ObjectStreamSize; 87 int32_t m_ObjectStreamSize;
88 uint32_t m_dwLastObjNum; 88 uint32_t m_dwLastObjNum;
89 CFX_FileBufferArchive m_File; 89 CFX_FileBufferArchive m_File;
90 FX_FILESIZE m_Offset; 90 FX_FILESIZE m_Offset;
91 int32_t m_iStage; 91 int32_t m_iStage;
92 uint32_t m_dwFlags; 92 uint32_t m_dwFlags;
93 FX_POSITION m_Pos; 93 FX_POSITION m_Pos;
94 FX_FILESIZE m_XrefStart; 94 FX_FILESIZE m_XrefStart;
95 CFX_FileSizeListArray m_ObjectOffset; 95 CFX_FileSizeListArray m_ObjectOffset;
96 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray; 96 CFX_ArrayTemplate<uint32_t> m_NewObjNumArray;
97 CPDF_Array* m_pIDArray; 97 CPDF_Array* m_pIDArray;
98 int32_t m_FileVersion; 98 int32_t m_FileVersion;
99 }; 99 };
100 100
101 #endif // CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_ 101 #endif // CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698