summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_parser/include/cpdf_parser.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-08-16 11:43:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-16 11:43:24 -0700
commitf85e7e2ea29179dfe4ddc25ab410f8898391999c (patch)
treed32f70e74fd0f39aa5b1051d0e7366fb586d2d06 /core/fpdfapi/fpdf_parser/include/cpdf_parser.h
parent4540fbaa718b0b06e076321e0e1a61e80a161499 (diff)
downloadpdfium-f85e7e2ea29179dfe4ddc25ab410f8898391999c.tar.xz
Rename async to linearized when parsing
The parser and document refer to async loading and parsing. The code isn't actually async but loading a linearized PDF. This Cl renames the methods to clarify what the code is doing. The LoadDoc() and LoadLinearizedDoc() methods have been refactored to share a common LoadDocInternal() method. Review-Url: https://codereview.chromium.org/2250163002
Diffstat (limited to 'core/fpdfapi/fpdf_parser/include/cpdf_parser.h')
-rw-r--r--core/fpdfapi/fpdf_parser/include/cpdf_parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_parser.h b/core/fpdfapi/fpdf_parser/include/cpdf_parser.h
index 3ad3b867df..29807b9060 100644
--- a/core/fpdfapi/fpdf_parser/include/cpdf_parser.h
+++ b/core/fpdfapi/fpdf_parser/include/cpdf_parser.h
@@ -40,8 +40,8 @@ class CPDF_Parser {
Error StartParse(IFX_FileRead* pFile,
std::unique_ptr<CPDF_Document> pDocument);
- Error StartAsyncParse(IFX_FileRead* pFile,
- std::unique_ptr<CPDF_Document> pDocument);
+ Error StartLinearizedParse(IFX_FileRead* pFile,
+ std::unique_ptr<CPDF_Document> pDocument);
void SetPassword(const FX_CHAR* password) { m_Password = password; }
CFX_ByteString GetPassword() { return m_Password; }