diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-19 10:32:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-19 10:32:46 -0700 |
commit | 2fa0e13ec2a79cc85d5e018a6420e677b28160cc (patch) | |
tree | 246f2790f5f36af8971994adde0dd72d940e8c86 /core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h | |
parent | 0582ad18b1e7ab9e404b7f8071a015ec756f5afe (diff) | |
download | pdfium-2fa0e13ec2a79cc85d5e018a6420e677b28160cc.tar.xz |
Remove IPDF_CryptoHandler and IPDF_SecurityHandler.
This CL replaces the interfaces with the concrete classes. The concrete classes
are also renamed to remove the Standard from their names.
BUG=pdfium:468
Review URL: https://codereview.chromium.org/1898173002
Diffstat (limited to 'core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h')
-rw-r--r-- | core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h b/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h index 04fe6f4fec..63992a85ab 100644 --- a/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h +++ b/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h @@ -11,12 +11,12 @@ #include "core/fxcrt/include/fx_basic.h" +class CPDF_CryptoHandler; class CPDF_Dictionary; class CPDF_IndirectObjectHolder; class CPDF_Object; 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<IPDF_CryptoHandler> pCryptoHandler); + void SetEncrypt(std::unique_ptr<CPDF_CryptoHandler> pCryptoHandler); FX_BOOL ReadBlock(uint8_t* pBuf, uint32_t size); FX_BOOL GetCharAt(FX_FILESIZE pos, uint8_t& ch); @@ -88,7 +88,7 @@ class CPDF_SyntaxParser { uint8_t* m_pFileBuf; uint32_t m_BufSize; FX_FILESIZE m_BufOffset; - std::unique_ptr<IPDF_CryptoHandler> m_pCryptoHandler; + std::unique_ptr<CPDF_CryptoHandler> m_pCryptoHandler; uint8_t m_WordBuffer[257]; uint32_t m_WordSize; }; |