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

Side by Side Diff: xfa/fxfa/parser/cxfa_simple_parser.h

Issue 2559763002: Refcount IFGAS_ streams all the time, too (Closed)
Patch Set: more Created 4 years 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 unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/cxfa_node.cpp ('k') | xfa/fxfa/parser/cxfa_simple_parser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ 7 #ifndef XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_
8 #define XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ 8 #define XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 XFA_XDPPACKET ePacketID); 71 XFA_XDPPACKET ePacketID);
72 void ParseDataGroup(CXFA_Node* pXFANode, 72 void ParseDataGroup(CXFA_Node* pXFANode,
73 CFDE_XMLNode* pXMLNode, 73 CFDE_XMLNode* pXMLNode,
74 XFA_XDPPACKET ePacketID); 74 XFA_XDPPACKET ePacketID);
75 void ParseInstruction(CXFA_Node* pXFANode, 75 void ParseInstruction(CXFA_Node* pXFANode,
76 CFDE_XMLInstruction* pXMLInstruction, 76 CFDE_XMLInstruction* pXMLInstruction,
77 XFA_XDPPACKET ePacketID); 77 XFA_XDPPACKET ePacketID);
78 78
79 CXFA_XMLParser* m_pXMLParser; 79 CXFA_XMLParser* m_pXMLParser;
80 std::unique_ptr<CFDE_XMLDoc> m_pXMLDoc; 80 std::unique_ptr<CFDE_XMLDoc> m_pXMLDoc;
81 std::unique_ptr<IFGAS_Stream, ReleaseDeleter<IFGAS_Stream>> m_pStream; 81 CFX_RetainPtr<IFGAS_Stream> m_pStream;
82 CFX_RetainPtr<IFX_SeekableReadStream> m_pFileRead; 82 CFX_RetainPtr<IFX_SeekableReadStream> m_pFileRead;
83 CXFA_Document* m_pFactory; 83 CXFA_Document* m_pFactory;
84 CXFA_Node* m_pRootNode; 84 CXFA_Node* m_pRootNode;
85 XFA_XDPPACKET m_ePacketID; 85 XFA_XDPPACKET m_ePacketID;
86 bool m_bDocumentParser; 86 bool m_bDocumentParser;
87 }; 87 };
88 88
89 #endif // XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_ 89 #endif // XFA_FXFA_PARSER_CXFA_SIMPLE_PARSER_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_node.cpp ('k') | xfa/fxfa/parser/cxfa_simple_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698