summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-09 17:42:18 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-09 17:42:18 -0800
commita1193aedb8797fcb26f54d7b99e4662ae72e3de9 (patch)
tree97f3a1c85e6227e4910981d735cd5ada62ac2b5c /core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h
parent99406198ac4921a53425edc73cac67e7b4760895 (diff)
downloadpdfium-a1193aedb8797fcb26f54d7b99e4662ae72e3de9.tar.xz
Split off IPDF_CryptoHandler into its own .cpp/.h files.
CPDF_CryptoHandler was always a pure-virtual class, now it is named as IPDF_ to indicate this. R=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1782673002 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h')
-rw-r--r--core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h b/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h
index 44c98eafd8..c259efb1ee 100644
--- a/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h
+++ b/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h
@@ -11,12 +11,12 @@
#include "core/include/fxcrt/fx_basic.h"
-class CPDF_CryptoHandler;
+class CPDF_Dictionary;
class CPDF_IndirectObjectHolder;
class CPDF_Object;
-class CPDF_Dictionary;
class CPDF_Stream;
class IFX_FileRead;
+class IPDF_CryptoHandler;
class CPDF_SyntaxParser {
public:
@@ -49,7 +49,7 @@ class CPDF_SyntaxParser {
FX_FILESIZE limit);
FX_FILESIZE FindTag(const CFX_ByteStringC& tag, FX_FILESIZE limit);
- void SetEncrypt(std::unique_ptr<CPDF_CryptoHandler> pCryptoHandler);
+ void SetEncrypt(std::unique_ptr<IPDF_CryptoHandler> pCryptoHandler);
FX_BOOL ReadBlock(uint8_t* pBuf, FX_DWORD size);
FX_BOOL GetCharAt(FX_FILESIZE pos, uint8_t& ch);
@@ -88,7 +88,7 @@ class CPDF_SyntaxParser {
uint8_t* m_pFileBuf;
FX_DWORD m_BufSize;
FX_FILESIZE m_BufOffset;
- std::unique_ptr<CPDF_CryptoHandler> m_pCryptoHandler;
+ std::unique_ptr<IPDF_CryptoHandler> m_pCryptoHandler;
uint8_t m_WordBuffer[257];
FX_DWORD m_WordSize;
};