Index: core/fpdfapi/parser/cpdf_data_avail.h |
diff --git a/core/fpdfapi/parser/cpdf_data_avail.h b/core/fpdfapi/parser/cpdf_data_avail.h |
index 250064f38adfe21971825cfe1b50a19391417e3f..0f10ceb6fc14ea251db285b0113fdfe01be60fb9 100644 |
--- a/core/fpdfapi/parser/cpdf_data_avail.h |
+++ b/core/fpdfapi/parser/cpdf_data_avail.h |
@@ -22,7 +22,6 @@ class CPDF_Parser; |
enum PDF_DATAAVAIL_STATUS { |
PDF_DATAAVAIL_HEADER = 0, |
PDF_DATAAVAIL_FIRSTPAGE, |
- PDF_DATAAVAIL_FIRSTPAGE_PREPARE, |
PDF_DATAAVAIL_HINTTABLE, |
PDF_DATAAVAIL_END, |
PDF_DATAAVAIL_CROSSREF, |
@@ -192,6 +191,8 @@ class CPDF_DataAvail final { |
bool IsFirstCheck(uint32_t dwPage); |
void ResetFirstCheck(uint32_t dwPage); |
bool IsDataAvail(FX_FILESIZE offset, uint32_t size, DownloadHints* pHints); |
+ bool ValidatePage(uint32_t dwPage); |
+ bool ValidateForm(); |
FileAvail* const m_pFileAvail; |
IFX_SeekableReadStream* const m_pFileRead; |