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

Issue 1715483002: Name the states for fpdf_parser_parser. (Closed)

Created:
4 years, 10 months ago by dsinclair
Modified:
4 years, 10 months ago
Reviewers:
Tom Sepez, Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Name the states for fpdf_parser_parser. Currently the states are numbers, use names instead to make the code clearer where things are transitioning too. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/c5ac0202004cd38071a9f6f0d7f3e5d8669ccfbb

Patch Set 1 #

Total comments: 13

Patch Set 2 : Review comments. #

Patch Set 3 : Rebase to master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -53 lines) Patch
M core/include/fpdfapi/fpdf_parser.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 8 chunks +71 lines, -53 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
dsinclair
PTAL. I'm explicitly not changing the surrounding code, just the names. This code needs tests ...
4 years, 10 months ago (2016-02-18 18:39:04 UTC) #2
Tom Sepez
https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (left): https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp#oldcode904 core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:904: case 13: Heh. No 12. https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (right): ...
4 years, 10 months ago (2016-02-18 19:27:56 UTC) #3
dsinclair
https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (left): https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp#oldcode904 core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:904: case 13: On 2016/02/18 19:27:55, Tom Sepez wrote: > ...
4 years, 10 months ago (2016-02-18 19:47:04 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (right): https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp#newcode39 core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:39: enum class ParserState { On 2016/02/18 19:47:04, dsinclair ...
4 years, 10 months ago (2016-02-18 19:49:17 UTC) #5
dsinclair
https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (right): https://codereview.chromium.org/1715483002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp#newcode39 core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:39: enum class ParserState { On 2016/02/18 19:49:16, Tom Sepez ...
4 years, 10 months ago (2016-02-18 19:51:03 UTC) #6
dsinclair
4 years, 10 months ago (2016-02-18 19:55:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c5ac0202004cd38071a9f6f0d7f3e5d8669ccfbb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698