Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Issue 2474303003: Clean up fpdf_page_parsers (Closed)

Created:
4 years, 1 month ago by npm
Modified:
4 years, 1 month ago
Reviewers:
Lei Zhang, dsinclair, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

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 Committed: https://pdfium.googlesource.com/pdfium/+/014b012278b7438ef8d4b66730b8598c7eb4623a

Patch Set 1 : Move code #

Patch Set 2 : Fix includes, move method to namespace #

Total comments: 2

Patch Set 3 : Remove PDF_ from namespace stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+347 lines, -1315 lines) Patch
M BUILD.gn View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
A core/fpdfapi/page/cpdf_contentparser.cpp View 1 1 chunk +215 lines, -0 lines 0 comments Download
M core/fpdfapi/page/cpdf_streamcontentparser.cpp View 1 2 4 chunks +116 lines, -1 line 0 comments Download
A + core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
A + core/fpdfapi/page/cpdf_streamparser.cpp View 1 2 10 chunks +8 lines, -223 lines 0 comments Download
A + core/fpdfapi/page/cpdf_streamparser_unittest.cpp View 1 chunk +1 line, -1 line 0 comments Download
D core/fpdfapi/page/fpdf_page_parser.cpp View 1 chunk +0 lines, -158 lines 0 comments Download
D core/fpdfapi/page/fpdf_page_parser_old.cpp View 1 2 1 chunk +0 lines, -842 lines 0 comments Download
D core/fpdfapi/page/fpdf_page_parser_old_unittest.cpp View 1 chunk +0 lines, -47 lines 0 comments Download
D core/fpdfapi/page/fpdf_page_parser_unittest.cpp View 1 chunk +0 lines, -34 lines 0 comments Download
M core/fpdfapi/page/pageint.h View 1 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
npm
PTAL
4 years, 1 month ago (2016-11-04 18:52:07 UTC) #6
dsinclair
lgtm w/ nit. https://codereview.chromium.org/2474303003/diff/20001/core/fpdfapi/page/cpdf_streamcontentparser.cpp File core/fpdfapi/page/cpdf_streamcontentparser.cpp (right): https://codereview.chromium.org/2474303003/diff/20001/core/fpdfapi/page/cpdf_streamcontentparser.cpp#newcode137 core/fpdfapi/page/cpdf_streamcontentparser.cpp:137: const PDF_AbbrPair PDF_InlineKeyAbbr[] = { nit: ...
4 years, 1 month ago (2016-11-07 14:19:55 UTC) #9
npm
https://codereview.chromium.org/2474303003/diff/20001/core/fpdfapi/page/cpdf_streamcontentparser.cpp File core/fpdfapi/page/cpdf_streamcontentparser.cpp (right): https://codereview.chromium.org/2474303003/diff/20001/core/fpdfapi/page/cpdf_streamcontentparser.cpp#newcode137 core/fpdfapi/page/cpdf_streamcontentparser.cpp:137: const PDF_AbbrPair PDF_InlineKeyAbbr[] = { On 2016/11/07 14:19:54, dsinclair ...
4 years, 1 month ago (2016-11-07 16:18:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2474303003/40001
4 years, 1 month ago (2016-11-07 16:18:54 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 16:42:14 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/014b012278b7438ef8d4b66730b8598c7eb4...

Powered by Google App Engine
This is Rietveld 408576698