summaryrefslogtreecommitdiff
path: root/testing/test_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_support.h')
-rw-r--r--testing/test_support.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/testing/test_support.h b/testing/test_support.h
index 146582251f..7676e5783b 100644
--- a/testing/test_support.h
+++ b/testing/test_support.h
@@ -11,7 +11,6 @@
#include <string>
#include <vector>
-#include "public/fpdf_save.h"
#include "public/fpdfview.h"
namespace pdfium {
@@ -107,25 +106,4 @@ class TestLoader {
const size_t m_Len;
};
-class TestSaver : public FPDF_FILEWRITE {
- public:
- TestSaver();
-
- void ClearString();
- const std::string& GetString() const { return m_String; }
-
- protected:
- static int GetBlockFromString(void* param,
- unsigned long pos,
- unsigned char* buf,
- unsigned long size);
-
- private:
- static int WriteBlockCallback(FPDF_FILEWRITE* pFileWrite,
- const void* data,
- unsigned long size);
-
- std::string m_String;
-};
-
#endif // TESTING_TEST_SUPPORT_H_