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/include | |
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/include')
-rw-r--r-- | core/fpdfapi/fpdf_parser/include/cpdf_parser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_parser.h b/core/fpdfapi/fpdf_parser/include/cpdf_parser.h index 45aca8f21a..5331ccafb1 100644 --- a/core/fpdfapi/fpdf_parser/include/cpdf_parser.h +++ b/core/fpdfapi/fpdf_parser/include/cpdf_parser.h @@ -14,15 +14,15 @@ #include "core/fxcrt/include/fx_basic.h" class CPDF_Array; +class CPDF_CryptoHandler; class CPDF_Dictionary; class CPDF_Document; class CPDF_IndirectObjectHolder; class CPDF_Object; +class CPDF_SecurityHandler; class CPDF_StreamAcc; class CPDF_SyntaxParser; class IFX_FileRead; -class IPDF_CryptoHandler; -class IPDF_SecurityHandler; class CPDF_Parser { public: @@ -63,7 +63,7 @@ class CPDF_Parser { bool IsVersionUpdated() const { return m_bVersionUpdated; } bool IsObjectFreeOrNull(uint32_t objnum) const; FX_BOOL IsFormStream(uint32_t objnum, FX_BOOL& bForm); - IPDF_CryptoHandler* GetCryptoHandler(); + CPDF_CryptoHandler* GetCryptoHandler(); IFX_FileRead* GetFileAccess() const; FX_FILESIZE GetObjectOffset(uint32_t objnum) const; @@ -123,7 +123,7 @@ class CPDF_Parser { CPDF_Dictionary* m_pEncryptDict; FX_FILESIZE m_LastXRefOffset; FX_BOOL m_bXRefStream; - std::unique_ptr<IPDF_SecurityHandler> m_pSecurityHandler; + std::unique_ptr<CPDF_SecurityHandler> m_pSecurityHandler; CFX_ByteString m_bsRecipient; CFX_ByteString m_FilePath; CFX_ByteString m_Password; |