summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-20 14:55:19 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-20 14:55:19 -0800
commit87d7b4fc58b4ec5fe097de5862490c5720c3ec09 (patch)
treed1f71eee62f3a2c602a29c3fa95dece9d668d72d /core/include/fpdfapi
parentb8ec0a3405c6f184e4b9811870081295cae078c9 (diff)
downloadpdfium-87d7b4fc58b4ec5fe097de5862490c5720c3ec09.tar.xz
Make XFA core/ look like master (part N).
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1463173003 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index 3d10726a4e..efb955be21 100644
--- a/core/include/fpdfapi/fpdf_parser.h
+++ b/core/include/fpdfapi/fpdf_parser.h
@@ -11,7 +11,6 @@
#include "core/include/fxcrt/fx_system.h"
#include "fpdf_objects.h"
-#include "public/fpdf_dataavail.h"
#include "third_party/base/nonstd_unique_ptr.h"
class CFDF_Document;
@@ -912,19 +911,19 @@ class IPDF_DataAvail {
FormNotExist = 2, // PDF_FORM_NOTEXIST
};
-static IPDF_DataAvail* Create(IFX_FileAvail* pFileAvail,
+ static IPDF_DataAvail* Create(IFX_FileAvail* pFileAvail,
IFX_FileRead* pFileRead);
virtual ~IPDF_DataAvail() {}
IFX_FileAvail* GetFileAvail() const { return m_pFileAvail; }
IFX_FileRead* GetFileRead() const { return m_pFileRead; }
- virtual int IsDocAvail(IFX_DownloadHints* pHints) = 0;
+ virtual DocAvailStatus IsDocAvail(IFX_DownloadHints* pHints) = 0;
virtual void SetDocument(CPDF_Document* pDoc) = 0;
virtual int IsPageAvail(int iPage, IFX_DownloadHints* pHints) = 0;
virtual FX_BOOL IsLinearized() = 0;
- virtual int IsFormAvail(IFX_DownloadHints* pHints) = 0;
- virtual int IsLinearizedPDF() = 0;
+ virtual DocFormStatus IsFormAvail(IFX_DownloadHints* pHints) = 0;
+ virtual DocLinearizationStatus IsLinearizedPDF() = 0;
virtual void GetLinearizedMainXRefInfo(FX_FILESIZE* pPos,
FX_DWORD* pSize) = 0;