summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdf_dataavail.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-10 09:20:03 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-10 09:20:03 -0800
commitf04089059b140ad50ed386b509ab200ce84b66e5 (patch)
treec3fabaf7b5d82a4ec5c21db6ef8723b68c740572 /fpdfsdk/src/fpdf_dataavail.cpp
parenta1193aedb8797fcb26f54d7b99e4662ae72e3de9 (diff)
downloadpdfium-f04089059b140ad50ed386b509ab200ce84b66e5.tar.xz
Split apart the remainder of fpdf_render_render.cpp into per-class files.
R=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1778173002 .
Diffstat (limited to 'fpdfsdk/src/fpdf_dataavail.cpp')
-rw-r--r--fpdfsdk/src/fpdf_dataavail.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/fpdfsdk/src/fpdf_dataavail.cpp b/fpdfsdk/src/fpdf_dataavail.cpp
index 1a6c29ae86..6dc706a001 100644
--- a/fpdfsdk/src/fpdf_dataavail.cpp
+++ b/fpdfsdk/src/fpdf_dataavail.cpp
@@ -7,6 +7,7 @@
#include "public/fpdf_dataavail.h"
#include "core/include/fpdfapi/cpdf_document.h"
+#include "core/include/fpdfapi/ipdf_data_avail.h"
#include "fpdfsdk/include/fsdk_define.h"
#include "public/fpdf_formfill.h"
@@ -34,14 +35,14 @@ static_assert(IPDF_DataAvail::FormAvailable == PDF_FORM_AVAIL,
static_assert(IPDF_DataAvail::FormNotExist == PDF_FORM_NOTEXIST,
"IPDF_DataAvail::FormNotExist value mismatch");
-class CFPDF_FileAvailWrap : public IFX_FileAvail {
+class CFPDF_FileAvailWrap : public IPDF_DataAvail::FileAvail {
public:
CFPDF_FileAvailWrap() { m_pfileAvail = NULL; }
~CFPDF_FileAvailWrap() override {}
void Set(FX_FILEAVAIL* pfileAvail) { m_pfileAvail = pfileAvail; }
- // IFX_FileAvail
+ // IPDF_DataAvail::FileAvail:
FX_BOOL IsDataAvail(FX_FILESIZE offset, FX_DWORD size) override {
return m_pfileAvail->IsDataAvail(m_pfileAvail, offset, size);
}
@@ -71,7 +72,7 @@ class CFPDF_FileAccessWrap : public IFX_FileRead {
FPDF_FILEACCESS* m_pFileAccess;
};
-class CFPDF_DownloadHintsWrap : public IFX_DownloadHints {
+class CFPDF_DownloadHintsWrap : public IPDF_DataAvail::DownloadHints {
public:
explicit CFPDF_DownloadHintsWrap(FX_DOWNLOADHINTS* pDownloadHints) {
m_pDownloadHints = pDownloadHints;