summaryrefslogtreecommitdiff
path: root/core/include/fxcrt
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-10-23 15:16:01 -0700
committerLei Zhang <thestig@chromium.org>2015-10-23 15:16:01 -0700
commite5457b7376e4f2b69c691363368af6cf4df3e0d8 (patch)
treeff8888240e5c08ab7596b22aeb4c282174425f6d /core/include/fxcrt
parent924b7e968e3aa19e9e916f8437acbf85d92df40e (diff)
downloadpdfium-e5457b7376e4f2b69c691363368af6cf4df3e0d8.tar.xz
Merge to XFA: Cleanup: Remove unused CPDF_Stream::Clone().
Cloning a CPDF_Stream actually happens via CPDF_Object::Clone(). Transitively, remove: - GetStreamFilter() -- all the filters. Also remove CXFA_FileRead. R=jam@chromium.org Review URL: https://codereview.chromium.org/1288543002 . (cherry picked from commit c9a05f1c90860a97dbe4b8014bc4584bfa3a4580) Review URL: https://codereview.chromium.org/1297463002 .
Diffstat (limited to 'core/include/fxcrt')
-rw-r--r--core/include/fxcrt/fx_basic.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
index 44e6a46ae7..3a83a3de21 100644
--- a/core/include/fxcrt/fx_basic.h
+++ b/core/include/fxcrt/fx_basic.h
@@ -1031,36 +1031,6 @@ class IFX_Pause {
virtual ~IFX_Pause() {}
virtual FX_BOOL NeedToPauseNow() = 0;
};
-class CFX_DataFilter {
- public:
- virtual ~CFX_DataFilter();
-
- void SetDestFilter(CFX_DataFilter* pFilter);
-
- FX_BOOL IsEOF() const { return m_bEOF; }
-
- FX_DWORD GetSrcPos() { return m_SrcPos; }
-
- void FilterIn(const uint8_t* src_buf,
- FX_DWORD src_size,
- CFX_BinaryBuf& dest_buf);
-
- void FilterFinish(CFX_BinaryBuf& dest_buf);
-
- protected:
- CFX_DataFilter();
- virtual void v_FilterIn(const uint8_t* src_buf,
- FX_DWORD src_size,
- CFX_BinaryBuf& dest_buf) = 0;
- virtual void v_FilterFinish(CFX_BinaryBuf& dest_buf) = 0;
- void ReportEOF(FX_DWORD left_input);
-
- FX_BOOL m_bEOF;
-
- FX_DWORD m_SrcPos;
-
- CFX_DataFilter* m_pDestFilter;
-};
template <typename T>
class CFX_AutoRestorer {