Chromium Code Reviews| Index: xfa/fxfa/parser/xfa_document_serialize.h |
| diff --git a/xfa/fxfa/parser/xfa_document_serialize.h b/xfa/fxfa/parser/xfa_document_serialize.h |
| index f18e163a8df55af6044fe7081973704a7e048671..36e373ea33f6c6b6c9af65d25fbeae998b8b47de 100644 |
| --- a/xfa/fxfa/parser/xfa_document_serialize.h |
| +++ b/xfa/fxfa/parser/xfa_document_serialize.h |
| @@ -9,25 +9,27 @@ |
| #include "xfa/fxfa/parser/xfa_docdata.h" |
| -class CXFA_DataImporter : public IXFA_PacketImport { |
| +class CXFA_DataImporter { |
| public: |
| - CXFA_DataImporter(CXFA_Document* pDocument); |
| - virtual void Release() { delete this; } |
| - virtual FX_BOOL ImportData(IFX_FileRead* pDataDocument); |
| + explicit CXFA_DataImporter(CXFA_Document* pDocument); |
| + |
| + void Release() { delete this; } |
| + FX_BOOL ImportData(IFX_FileRead* pDataDocument); |
| protected: |
| CXFA_Document* m_pDocument; |
|
Tom Sepez
2016/03/31 21:49:28
can this be CFXA_Document* const m_pDocument?
dsinclair
2016/04/01 03:19:17
Done.
|
| }; |
| -class CXFA_DataExporter : public IXFA_PacketExport { |
| +class CXFA_DataExporter { |
| public: |
| - CXFA_DataExporter(CXFA_Document* pDocument); |
| - virtual void Release() { delete this; } |
| - virtual FX_BOOL Export(IFX_FileWrite* pWrite); |
| - virtual FX_BOOL Export(IFX_FileWrite* pWrite, |
| - CXFA_Node* pNode, |
| - uint32_t dwFlag = 0, |
| - const FX_CHAR* pChecksum = NULL); |
| + explicit CXFA_DataExporter(CXFA_Document* pDocument); |
| + |
| + void Release() { delete this; } |
| + FX_BOOL Export(IFX_FileWrite* pWrite); |
| + FX_BOOL Export(IFX_FileWrite* pWrite, |
| + CXFA_Node* pNode, |
| + uint32_t dwFlag = 0, |
| + const FX_CHAR* pChecksum = NULL); |
| protected: |
| FX_BOOL Export(IFX_Stream* pStream, |