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

Issue 1782673002: Split off IPDF_CryptoHandler into its own .cpp/.h files (Closed)

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

Description

Split off IPDF_CryptoHandler into its own .cpp/.h files. CPDF_CryptoHandler was always a pure-virtual class, now it is named as IPDF_ to indicate this. R=dsinclair@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/a1193aedb8797fcb26f54d7b99e4662ae72e3de9

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix blown merge. #

Patch Set 3 : Stray typo. #

Total comments: 1

Patch Set 4 : Stray include. #

Total comments: 3

Patch Set 5 : Rebase #

Patch Set 6 : Move virtual dtor to .cpp file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -470 lines) Patch
M BUILD.gn View 4 chunks +4 lines, -2 lines 0 comments Download
M core/include/fpdfapi/cpdf_parser.h View 3 chunks +2 lines, -2 lines 0 comments Download
M core/include/fpdfapi/fpdf_parser.h View 1 2 3 4 2 chunks +1 line, -85 lines 0 comments Download
M core/include/fpdfapi/fpdf_serial.h View 2 chunks +2 lines, -2 lines 0 comments Download
A core/include/fpdfapi/ipdf_crypto_handler.h View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
M core/include/fpdfapi/ipdf_security_handler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp View 7 chunks +8 lines, -6 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_parser.cpp View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
A core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.h View 1 chunk +64 lines, -0 lines 0 comments Download
A + core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp View 1 2 3 4 5 2 chunks +15 lines, -16 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
D core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp View 1 chunk +0 lines, -344 lines 0 comments Download
M pdfium.gyp View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
Tom Sepez
Dan, next one. https://codereview.chromium.org/1782673002/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1782673002/diff/1/BUILD.gn#newcode878 BUILD.gn:878: "xfa/src/fde/fde_renderdevice.h", git cl format did this.
4 years, 9 months ago (2016-03-09 22:09:52 UTC) #4
Tom Sepez
Dan, next one. https://codereview.chromium.org/1782673002/diff/40001/core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp File core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp (left): https://codereview.chromium.org/1782673002/diff/40001/core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp#oldcode14 core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp:14: struct PDF_CRYPTOITEM { Note: unused. https://codereview.chromium.org/1782673002/diff/60001/BUILD.gn ...
4 years, 9 months ago (2016-03-09 22:18:33 UTC) #5
dsinclair
lgtm w/ nit. https://codereview.chromium.org/1782673002/diff/60001/core/include/fpdfapi/ipdf_crypto_handler.h File core/include/fpdfapi/ipdf_crypto_handler.h (right): https://codereview.chromium.org/1782673002/diff/60001/core/include/fpdfapi/ipdf_crypto_handler.h#newcode17 core/include/fpdfapi/ipdf_crypto_handler.h:17: virtual ~IPDF_CryptoHandler() {} nit: Move {} ...
4 years, 9 months ago (2016-03-10 01:35:55 UTC) #6
Tom Sepez
https://codereview.chromium.org/1782673002/diff/60001/core/include/fpdfapi/ipdf_crypto_handler.h File core/include/fpdfapi/ipdf_crypto_handler.h (right): https://codereview.chromium.org/1782673002/diff/60001/core/include/fpdfapi/ipdf_crypto_handler.h#newcode17 core/include/fpdfapi/ipdf_crypto_handler.h:17: virtual ~IPDF_CryptoHandler() {} On 2016/03/10 01:35:55, dsinclair wrote: > ...
4 years, 9 months ago (2016-03-10 01:42:09 UTC) #7
Tom Sepez
4 years, 9 months ago (2016-03-10 01:42:22 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
a1193aedb8797fcb26f54d7b99e4662ae72e3de9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698