diff options
author | dsinclair <dsinclair@chromium.org> | 2016-05-19 18:13:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-19 18:13:53 -0700 |
commit | 6c93df843774354fb7c34cb887583b5312c04415 (patch) | |
tree | 8bdc4057f4cf8b311aac73fbc72400c46aed06c4 /xfa/fxfa/include/xfa_checksum.h | |
parent | fc2cdf8657534467fd807e216d50650b0e959868 (diff) | |
download | pdfium-6c93df843774354fb7c34cb887583b5312c04415.tar.xz |
Move fgas_sax into individual files in fde.
This CL moves the fgas Sax parser into the fde/xml directory. This places
the parse with the other XML parser in the system.
Review-Url: https://codereview.chromium.org/1990003002
Diffstat (limited to 'xfa/fxfa/include/xfa_checksum.h')
-rw-r--r-- | xfa/fxfa/include/xfa_checksum.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/include/xfa_checksum.h b/xfa/fxfa/include/xfa_checksum.h index f6b13e7cb7..a5e5592cec 100644 --- a/xfa/fxfa/include/xfa_checksum.h +++ b/xfa/fxfa/include/xfa_checksum.h @@ -7,7 +7,7 @@ #ifndef XFA_FXFA_INCLUDE_XFA_CHECKSUM_H_ #define XFA_FXFA_INCLUDE_XFA_CHECKSUM_H_ -#include "xfa/fgas/xml/fgas_sax.h" +#include "xfa/fde/xml/cfx_saxreader.h" #include "xfa/fxfa/include/fxfa.h" class CXFA_SAXReaderHandler; @@ -15,11 +15,11 @@ class CXFA_ChecksumContext; class CXFA_SAXContext { public: - CXFA_SAXContext() : m_eNode(FX_SAXNODE_Unknown) {} + CXFA_SAXContext() : m_eNode(CFX_SAXItem::Type::Unknown) {} CFX_ByteTextBuf m_TextBuf; CFX_ByteString m_bsTagName; - FX_SAXNODE m_eNode; + CFX_SAXItem::Type m_eNode; }; class CXFA_SAXReaderHandler { @@ -28,14 +28,14 @@ class CXFA_SAXReaderHandler { ~CXFA_SAXReaderHandler(); void* OnTagEnter(const CFX_ByteStringC& bsTagName, - FX_SAXNODE eType, + CFX_SAXItem::Type eType, uint32_t dwStartPos); void OnTagAttribute(void* pTag, const CFX_ByteStringC& bsAttri, const CFX_ByteStringC& bsValue); void OnTagBreak(void* pTag); void OnTagData(void* pTag, - FX_SAXNODE eType, + CFX_SAXItem::Type eType, const CFX_ByteStringC& bsData, uint32_t dwStartPos); void OnTagClose(void* pTag, uint32_t dwEndPos); @@ -44,7 +44,7 @@ class CXFA_SAXReaderHandler { uint32_t dwEndPos); void OnTargetData(void* pTag, - FX_SAXNODE eType, + CFX_SAXItem::Type eType, const CFX_ByteStringC& bsData, uint32_t dwStartPos); |