diff options
author | tsepez <tsepez@chromium.org> | 2016-12-01 15:16:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-01 15:16:54 -0800 |
commit | f78bf1a54a4afb6486869b4bc5850283225d7055 (patch) | |
tree | d89a4158bb76dc837ba9cd1639337296dd60bd9c /xfa/fxfa/xfa_ffapp.h | |
parent | d912f6ba083fed382a13c47aa06299e86d0b8c6b (diff) | |
download | pdfium-f78bf1a54a4afb6486869b4bc5850283225d7055.tar.xz |
Make concrete stream classes private to .cpp, part 3
Review-Url: https://codereview.chromium.org/2545953002
Diffstat (limited to 'xfa/fxfa/xfa_ffapp.h')
-rw-r--r-- | xfa/fxfa/xfa_ffapp.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/xfa/fxfa/xfa_ffapp.h b/xfa/fxfa/xfa_ffapp.h index 6dbdb72197..95013ef82f 100644 --- a/xfa/fxfa/xfa_ffapp.h +++ b/xfa/fxfa/xfa_ffapp.h @@ -24,19 +24,10 @@ class CXFA_FontMgr; class IFWL_AdapterTimerMgr; class CFWL_WidgetMgrDelegate; -class CXFA_FileRead : public IFX_SeekableReadStream { - public: - explicit CXFA_FileRead(const std::vector<CPDF_Stream*>& streams); - ~CXFA_FileRead() override; - - // IFX_SeekableReadStream - FX_FILESIZE GetSize() override; - bool ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override; - void Release() override; - - protected: - CFX_ObjectArray<CPDF_StreamAcc> m_Data; -}; +// Layering prevents fxcrt from knowing about CPDF_Streams; this could go +// in fpdfsdk, but it is XFA-Only. +IFX_SeekableReadStream* MakeSeekableReadStream( + const std::vector<CPDF_Stream*>& streams); class CXFA_FFApp { public: |