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

Side by Side Diff: core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h

Issue 1849443003: Re-enable all the windows warnings except 4267 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Address comments 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
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp ('k') | core/fxcrt/fx_basic_gcc.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 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_SYNTAX_PARSER_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_
8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ 8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 CFX_ByteString ReadString(); 76 CFX_ByteString ReadString();
77 CFX_ByteString ReadHexString(); 77 CFX_ByteString ReadHexString();
78 unsigned int ReadEOLMarkers(FX_FILESIZE pos); 78 unsigned int ReadEOLMarkers(FX_FILESIZE pos);
79 CPDF_Stream* ReadStream(CPDF_Dictionary* pDict, 79 CPDF_Stream* ReadStream(CPDF_Dictionary* pDict,
80 uint32_t objnum, 80 uint32_t objnum,
81 uint32_t gennum); 81 uint32_t gennum);
82 82
83 FX_FILESIZE m_Pos; 83 FX_FILESIZE m_Pos;
84 int m_MetadataObjnum; 84 int m_MetadataObjnum;
85 IFX_FileRead* m_pFileAccess; 85 IFX_FileRead* m_pFileAccess;
86 uint32_t m_HeaderOffset; 86 FX_FILESIZE m_HeaderOffset;
87 FX_FILESIZE m_FileLen; 87 FX_FILESIZE m_FileLen;
88 uint8_t* m_pFileBuf; 88 uint8_t* m_pFileBuf;
89 uint32_t m_BufSize; 89 uint32_t m_BufSize;
90 FX_FILESIZE m_BufOffset; 90 FX_FILESIZE m_BufOffset;
91 std::unique_ptr<IPDF_CryptoHandler> m_pCryptoHandler; 91 std::unique_ptr<IPDF_CryptoHandler> m_pCryptoHandler;
92 uint8_t m_WordBuffer[257]; 92 uint8_t m_WordBuffer[257];
93 uint32_t m_WordSize; 93 uint32_t m_WordSize;
94 }; 94 };
95 95
96 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_ 96 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_SYNTAX_PARSER_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp ('k') | core/fxcrt/fx_basic_gcc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698