diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-14 18:34:43 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-14 18:34:43 +0000 |
commit | d1b1127cd452a173ec119587c3a6e137e27df6d7 (patch) | |
tree | 4fa719620920ad545ce2346904d253253659d4ab /xfa/fxfa/parser/cxfa_imagedata.h | |
parent | a5b0e63b66e8bc8744677f4e5b8de2fe2c1b1a7b (diff) | |
download | pdfium-d1b1127cd452a173ec119587c3a6e137e27df6d7.tar.xz |
Cleanup const refs and some enums
This CL cleans up some const refs and some enum values from the previous
rename CLs.
Change-Id: Ifaa990c9c45485bb059e0bda0026093d0a2c0944
Reviewed-on: https://pdfium-review.googlesource.com/18230
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_imagedata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_imagedata.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_imagedata.h b/xfa/fxfa/parser/cxfa_imagedata.h index e94615ae1d..8b3ae43b98 100644 --- a/xfa/fxfa/parser/cxfa_imagedata.h +++ b/xfa/fxfa/parser/cxfa_imagedata.h @@ -18,13 +18,16 @@ class CXFA_ImageData : public CXFA_Data { CXFA_ImageData(CXFA_Node* pNode, bool bDefValue); int32_t GetAspect(); - bool GetContentType(WideString& wsContentType); - bool GetHref(WideString& wsHref); - int32_t GetTransferEncoding(); bool GetContent(WideString& wsText); - bool SetContentType(const WideString& wsContentType); + + bool GetHref(WideString& wsHref); bool SetHref(const WideString& wsHref); - bool SetTransferEncoding(int32_t iTransferEncoding); + + XFA_ATTRIBUTEENUM GetTransferEncoding(); + bool SetTransferEncoding(XFA_ATTRIBUTEENUM iTransferEncoding); + + bool GetContentType(WideString& wsContentType); + bool SetContentType(const WideString& wsContentType); private: bool m_bDefValue; |