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

Issue 873523002: Use IPDF_DataAvail interface to hide CPDF_DataAvail. (Closed)

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

Description

Use IPDF_DataAvail interface to hide CPDF_DataAvail. Currently, no callers go through the Interface, which makes having a separate interface class kind of pointless. After converting callers away from using the CPDF_DataAvail concrete class, it can be moved from the header to the .cpp file. R=bo_xu@foxitsoftware.com Committed: https://pdfium.googlesource.com/pdfium/+/219e462c2a0bb9a5462c0ee43ec93ac86c9cda40

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -209 lines) Patch
M core/include/fpdfapi/fpdf_parser.h View 2 chunks +10 lines, -205 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 chunk +200 lines, -2 lines 0 comments Download
M fpdfsdk/src/fpdf_dataavail.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Tom Sepez
Bo, please review. If we're going to program to interfaces, we might as well use ...
5 years, 11 months ago (2015-01-22 23:00:55 UTC) #2
Bo Xu
On 2015/01/22 23:00:55, Tom Sepez wrote: > Bo, please review. If we're going to program ...
5 years, 11 months ago (2015-01-22 23:35:17 UTC) #3
Tom Sepez
Lei, do you think this is worthwhile?
5 years, 11 months ago (2015-01-23 00:25:03 UTC) #5
Lei Zhang
On 2015/01/23 00:25:03, Tom Sepez wrote: > Lei, do you think this is worthwhile? Sure. ...
5 years, 11 months ago (2015-01-23 00:42:44 UTC) #6
Tom Sepez
On 2015/01/23 00:42:44, Lei Zhang wrote: > On 2015/01/23 00:25:03, Tom Sepez wrote: > > ...
5 years, 11 months ago (2015-01-23 00:45:08 UTC) #7
Tom Sepez
> Thanks. FYI, I checked that the patch applies and builds in standalone XFA. I ...
5 years, 11 months ago (2015-01-23 00:57:19 UTC) #8
Tom Sepez
Committed patchset #1 (id:1) manually as 219e462c2a0bb9a5462c0ee43ec93ac86c9cda40 (presubmit successful).
5 years, 11 months ago (2015-01-23 00:58:02 UTC) #9
Lei Zhang
5 years, 11 months ago (2015-01-23 01:04:00 UTC) #10
Message was sent while issue was closed.
On 2015/01/23 00:57:19, Tom Sepez wrote:
> > Thanks.  FYI, I checked that the patch applies and builds in standalone XFA.
I
> > thought I also tried it under a chromium checkout -- are you saying that
> > pdfium_engine.cc will break?
> Codesearch seems to suggest that the code fragment in #7 is a hypothetical.

Indeed, sorry for being unclear. We don't reference any CPDF code in pdf/

Powered by Google App Engine
This is Rietveld 408576698