summaryrefslogtreecommitdiff
path: root/xfa/fxfa/include/xfa_checksum.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-05-19 18:13:53 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-19 18:13:53 -0700
commit6c93df843774354fb7c34cb887583b5312c04415 (patch)
tree8bdc4057f4cf8b311aac73fbc72400c46aed06c4 /xfa/fxfa/include/xfa_checksum.h
parentfc2cdf8657534467fd807e216d50650b0e959868 (diff)
downloadpdfium-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.h12
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);