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

Issue 2837663002: Cleanup PDF plugin code. (Closed)

Created:
3 years, 8 months ago by Lei Zhang
Modified:
3 years, 7 months ago
Reviewers:
raymes
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup PDF plugin code. - Consolidate callback factories in OutOfProcessInstance. - Make PDFEngine::Create() return a unique_ptr. - Unify LoadUrl methods. Review-Url: https://codereview.chromium.org/2837663002 Cr-Commit-Position: refs/heads/master@{#469377} Committed: https://chromium.googlesource.com/chromium/src/+/66a2016758be5a47057b8580f9d0432b7de570f8

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -50 lines) Patch
M pdf/out_of_process_instance.h View 3 chunks +2 lines, -11 lines 0 comments Download
M pdf/out_of_process_instance.cc View 1 15 chunks +26 lines, -36 lines 0 comments Download
M pdf/pdf_engine.h View 2 chunks +2 lines, -1 line 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Lei Zhang
We don't need all these callback factories, right? Should the callback factory be last, like ...
3 years, 8 months ago (2017-04-21 21:05:45 UTC) #4
raymes
Hey Lei, I'd actually like to start transitioning away from being a PDF owner given ...
3 years, 8 months ago (2017-04-23 22:19:00 UTC) #7
Lei Zhang
On 2017/04/23 22:19:00, raymes wrote: > Hey Lei, I'd actually like to start transitioning away ...
3 years, 8 months ago (2017-04-24 04:08:21 UTC) #8
raymes
lgtm > We don't need all these callback factories, right? I don't think so. > ...
3 years, 7 months ago (2017-04-26 02:44:20 UTC) #9
Lei Zhang
https://codereview.chromium.org/2837663002/diff/1/pdf/out_of_process_instance.cc File pdf/out_of_process_instance.cc (right): https://codereview.chromium.org/2837663002/diff/1/pdf/out_of_process_instance.cc#newcode385 pdf/out_of_process_instance.cc:385: LoadUrl(stream_url, false /* is_print_preview */); On 2017/04/26 02:44:19, raymes ...
3 years, 7 months ago (2017-05-04 17:39:28 UTC) #14
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/2837663002/20001
3 years, 7 months ago (2017-05-04 17:39:58 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 17:44:47 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/66a2016758be5a47057b8580f9d0...

Powered by Google App Engine
This is Rietveld 408576698