summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_parser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-03-07 17:03:30 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-03-07 17:03:30 -0500
commitc582c0ddfea8ba01c8449ed7841cdb33c12e0a98 (patch)
treeb93867f4e7b5bfbc191837b3e7beab61f92b4ef2 /core/include/fpdfapi/fpdf_parser.h
parent051348757b75bd527d9a8bfffeaf5231b7c24449 (diff)
downloadpdfium-c582c0ddfea8ba01c8449ed7841cdb33c12e0a98.tar.xz
Fix chromium-style errors.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1772543003 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_parser.h')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index 5903e82a16..53404b7586 100644
--- a/core/include/fpdfapi/fpdf_parser.h
+++ b/core/include/fpdfapi/fpdf_parser.h
@@ -476,16 +476,12 @@ class IPDF_SecurityHandler {
CPDF_Dictionary* pEncryptDict) = 0;
virtual FX_DWORD GetPermissions() = 0;
-
virtual FX_BOOL GetCryptInfo(int& cipher,
const uint8_t*& buffer,
int& keylen) = 0;
virtual FX_BOOL IsMetadataEncrypted() = 0;
-
virtual CPDF_CryptoHandler* CreateCryptoHandler() = 0;
-
- virtual CPDF_StandardSecurityHandler* GetStandardHandler() { return NULL; }
};
#define PDF_ENCRYPT_CONTENT 0
@@ -797,19 +793,22 @@ class IPDF_DataAvail {
};
enum PDF_PAGENODE_TYPE {
- PDF_PAGENODE_UNKOWN = 0,
+ PDF_PAGENODE_UNKNOWN = 0,
PDF_PAGENODE_PAGE,
PDF_PAGENODE_PAGES,
PDF_PAGENODE_ARRAY,
};
+
class CPDF_PageNode {
public:
- CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {}
+ CPDF_PageNode();
~CPDF_PageNode();
+
PDF_PAGENODE_TYPE m_type;
FX_DWORD m_dwPageNo;
CFX_ArrayTemplate<CPDF_PageNode*> m_childNode;
};
+
enum PDF_DATAAVAIL_STATUS {
PDF_DATAAVAIL_HEADER = 0,
PDF_DATAAVAIL_FIRSTPAGE,