summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/pageint.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-07 08:42:11 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-07 08:42:11 -0800
commit014b012278b7438ef8d4b66730b8598c7eb4623a (patch)
tree75ea0ea37d0b239412133290d7b24cc975bfcc66 /core/fpdfapi/page/pageint.h
parent240dec52b2e6502e7deb27a3535af3b1a3e23428 (diff)
downloadpdfium-014b012278b7438ef8d4b66730b8598c7eb4623a.tar.xz
Clean up fpdf_page_parsers
- The code in fpdf_page_parser is only called by CPDF_StreamContentParser, so moved there. - Split fpdf_page_parser_old into its two classes - Renamed the corresponding unittests accordingly. - Moved PDF_ReplaceAbbr to namespace - Fixed few nits - Added TODO because CPDF_StreamParser has a lot of code similar to CPDF_SyntaxParser Review-Url: https://codereview.chromium.org/2474303003
Diffstat (limited to 'core/fpdfapi/page/pageint.h')
-rw-r--r--core/fpdfapi/page/pageint.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fpdfapi/page/pageint.h b/core/fpdfapi/page/pageint.h
index a96216bbb6..dee9639d7d 100644
--- a/core/fpdfapi/page/pageint.h
+++ b/core/fpdfapi/page/pageint.h
@@ -64,7 +64,7 @@ class CPDF_StreamParser {
CPDF_Object* ReadNextObject(bool bAllowNestedArray, uint32_t dwInArrayLevel);
private:
- friend class fpdf_page_parser_old_ReadHexString_Test;
+ friend class cpdf_streamparser_ReadHexString_Test;
void GetNextWord(bool& bIsNumber);
CFX_ByteString ReadString();
@@ -303,6 +303,4 @@ CFX_ByteStringC PDF_FindKeyAbbreviationForTesting(const CFX_ByteStringC& abbr);
CFX_ByteStringC PDF_FindValueAbbreviationForTesting(
const CFX_ByteStringC& abbr);
-void PDF_ReplaceAbbr(CPDF_Object* pObj);
-
#endif // CORE_FPDFAPI_PAGE_PAGEINT_H_