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

Issue 1335373002: Implement FPDFAction_GetFilePath(). (Closed)

Created:
5 years, 3 months ago by Lei Zhang
Modified:
5 years, 3 months ago
Reviewers:
jun_fang
CC:
pdfium-reviews_googlegroups.com, kai_jing, steven_wu
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Implement FPDFAction_GetFilePath(). The API is the same as the Foxit version, except the encoding is specified as UTF-8 instead of local encoding. Also remove CPDF_LWinParam since it's unused. BUG=chromium:517713 R=jun_fang@foxitsoftware.com Committed: https://pdfium.googlesource.com/pdfium/+/0b3c8f742613da294f812e2f6e908f4026499f96

Patch Set 1 #

Total comments: 22

Patch Set 2 : address some comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -109 lines) Patch
M core/include/fpdfdoc/fpdf_doc.h View 3 chunks +0 lines, -20 lines 0 comments Download
M core/src/fpdfdoc/doc_action.cpp View 1 chunk +1 line, -9 lines 0 comments Download
M fpdfsdk/src/fpdfdoc.cpp View 1 4 chunks +30 lines, -19 lines 0 comments Download
M fpdfsdk/src/fpdfdoc_embeddertest.cpp View 1 chunk +25 lines, -0 lines 0 comments Download
M fpdfsdk/src/fpdfview_c_api_test.c View 1 chunk +1 line, -0 lines 0 comments Download
M public/fpdf_doc.h View 3 chunks +25 lines, -9 lines 0 comments Download
A + testing/resources/launch_action.in View 1 chunk +22 lines, -24 lines 0 comments Download
A + testing/resources/launch_action.pdf View 2 chunks +26 lines, -28 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
Lei Zhang
Hi Jun, I noticed FPDFAction_GetFilePath() does not exist in PDFium, so I looked up the ...
5 years, 3 months ago (2015-09-12 01:01:27 UTC) #2
jun_fang
https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp File fpdfsdk/src/fpdfdoc.cpp (right): https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp#newcode167 fpdfsdk/src/fpdfdoc.cpp:167: if (buffer && buflen >= len) it should return ...
5 years, 3 months ago (2015-09-14 12:10:43 UTC) #3
jun_fang
https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp File fpdfsdk/src/fpdfdoc.cpp (right): https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp#newcode149 fpdfsdk/src/fpdfdoc.cpp:149: if (!document) if (!document || !pDict) return NULL; https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp#newcode176 ...
5 years, 3 months ago (2015-09-14 14:18:58 UTC) #4
jun_fang
5 years, 3 months ago (2015-09-14 14:21:32 UTC) #5
Lei Zhang
https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp File fpdfsdk/src/fpdfdoc.cpp (right): https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp#newcode149 fpdfsdk/src/fpdfdoc.cpp:149: if (!document) On 2015/09/14 14:18:57, jun_fang wrote: > if ...
5 years, 3 months ago (2015-09-15 08:24:51 UTC) #6
jun_fang
https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp File fpdfsdk/src/fpdfdoc.cpp (right): https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp#newcode167 fpdfsdk/src/fpdfdoc.cpp:167: if (buffer && buflen >= len) On 2015/09/15 08:24:50, ...
5 years, 3 months ago (2015-09-15 08:35:03 UTC) #7
Lei Zhang
https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp File fpdfsdk/src/fpdfdoc.cpp (right): https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp#newcode167 fpdfsdk/src/fpdfdoc.cpp:167: if (buffer && buflen >= len) On 2015/09/15 08:35:03, ...
5 years, 3 months ago (2015-09-15 08:50:57 UTC) #8
jun_fang
On 2015/09/15 08:50:57, Lei Zhang wrote: > https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp > File fpdfsdk/src/fpdfdoc.cpp (right): > > https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp#newcode167 ...
5 years, 3 months ago (2015-09-15 09:12:11 UTC) #9
jun_fang
On 2015/09/15 09:12:11, jun_fang wrote: > On 2015/09/15 08:50:57, Lei Zhang wrote: > > https://codereview.chromium.org/1335373002/diff/1/fpdfsdk/src/fpdfdoc.cpp ...
5 years, 3 months ago (2015-09-15 09:15:07 UTC) #10
Lei Zhang
On 2015/09/15 09:15:07, jun_fang wrote: > You can decide it by yourself. LGTM. Thanks. We ...
5 years, 3 months ago (2015-09-15 21:45:25 UTC) #11
Lei Zhang
5 years, 3 months ago (2015-09-15 21:45:33 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0b3c8f742613da294f812e2f6e908f4026499f96 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698