summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-05 10:00:59 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-05 10:00:59 -0700
commit5cd398545141226f082b2f757f23c73303058a83 (patch)
tree734e2a0ad7e923ed1c57c076abb8d1070fdc3b2f /core/include/fpdfapi
parent7ea305f1bd4efc1838fba053e4399358d6765ec7 (diff)
downloadpdfium-5cd398545141226f082b2f757f23c73303058a83.tar.xz
FPDF_Creator can only create file through embedder-supplied callback.
Hence, some of the routines taking filename strings are unused. This, in turn allows us to get rid of some other fopen-ishy looking things inside the library. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1264423003 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_serial.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h
index 7197e0d7b0..4a325341cb 100644
--- a/core/include/fpdfapi/fpdf_serial.h
+++ b/core/include/fpdfapi/fpdf_serial.h
@@ -17,22 +17,15 @@ CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj);
#define FPDFCREATE_NO_ORIGINAL 2
#define FPDFCREATE_PROGRESSIVE 4
#define FPDFCREATE_OBJECTSTREAM 8
+
class CPDF_Creator {
public:
CPDF_Creator(CPDF_Document* pDoc);
-
~CPDF_Creator();
void RemoveSecurity();
-
- FX_BOOL Create(const FX_WCHAR* filename, FX_DWORD flags = 0);
-
- FX_BOOL Create(const FX_CHAR* filename, FX_DWORD flags = 0);
-
FX_BOOL Create(IFX_StreamWrite* pFile, FX_DWORD flags = 0);
-
int32_t Continue(IFX_Pause* pPause = NULL);
-
FX_BOOL SetFileVersion(int32_t fileVersion = 17);
protected: