Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1078)

Unified Diff: xfa/fde/xml/fde_xml.h

Issue 2067253002: Cleanup XML parser code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | xfa/fde/xml/fde_xml_imp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/xml/fde_xml.h
diff --git a/xfa/fde/xml/fde_xml.h b/xfa/fde/xml/fde_xml.h
index b4601a931010c989b786bbe42eb97a39e62a8e8a..e9906beceda9982c63323d15554a76d2b4ae8c45 100644
--- a/xfa/fde/xml/fde_xml.h
+++ b/xfa/fde/xml/fde_xml.h
@@ -7,8 +7,7 @@
#ifndef XFA_FDE_XML_FDE_XML_H_
#define XFA_FDE_XML_FDE_XML_H_
-#include "xfa/fgas/crt/fgas_stream.h"
-#include "xfa/fgas/crt/fgas_utils.h"
+#include "core/fxcrt/include/fx_system.h"
enum class FDE_XmlSyntaxResult {
None,
@@ -40,25 +39,7 @@ struct FDE_XMLNODE {
int32_t iNodeNum;
FDE_XMLNODETYPE eNodeType;
};
-typedef CFX_StackTemplate<FDE_XMLNODE> CFDE_XMLNodeStack;
FX_BOOL FDE_IsXMLValidChar(FX_WCHAR ch);
-struct FDE_XMLREADERHANDLER {
- void* pData;
- void (*OnTagEnter)(FDE_XMLREADERHANDLER* pThis,
- FDE_XMLNODETYPE eType,
- const CFX_WideString& wsTagName);
- void (*OnTagBreak)(FDE_XMLREADERHANDLER* pThis,
- const CFX_WideString& wsTagName);
- void (*OnTagClose)(FDE_XMLREADERHANDLER* pThis,
- const CFX_WideString& wsTagName);
- void (*OnAttribute)(FDE_XMLREADERHANDLER* pThis,
- const CFX_WideString& wsName,
- const CFX_WideString& wsValue);
- void (*OnData)(FDE_XMLREADERHANDLER* pThis,
- FDE_XMLNODETYPE eType,
- const CFX_WideString& wsValue);
-};
-
#endif // XFA_FDE_XML_FDE_XML_H_
« no previous file with comments | « no previous file | xfa/fde/xml/fde_xml_imp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698