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

Issue 70083006: Load pdf library on all platforms. (Closed)

Created:
7 years, 1 month ago by Vitaly Buka (NO REVIEWS)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, jschuh, Jorge Lucangeli Obes
Visibility:
Public.

Description

Load pdf library on all platforms. Added RenderPDFPageToBitmap signature. Call ChromeContentUtilityClient::PreSandboxStartup for Zygote. It does not real additional work. Zygote already loads pdf and initialize MediaLibrary for renderer inside content/, pdf is just to hard to access from Utility. ServiceDiscoveryMessageHandler::PreSandboxStartup does nothing for POSIX. BUG=318373 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236212

Patch Set 1 : #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -108 lines) Patch
M chrome/app/chrome_main_delegate.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/utility/chrome_content_utility_client.h View 1 2 3 4 4 chunks +3 lines, -5 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 12 chunks +232 lines, -101 lines 0 comments Download
M printing/pdf_render_settings.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
Vitaly Buka (NO REVIEWS)
7 years, 1 month ago (2013-11-13 08:32:40 UTC) #1
Noam Samuel
lgtm
7 years, 1 month ago (2013-11-13 17:32:08 UTC) #2
Lei Zhang
lgtm
7 years, 1 month ago (2013-11-13 18:12:00 UTC) #3
Vitaly Buka (NO REVIEWS)
On 2013/11/13 18:12:00, Lei Zhang wrote: > lgtm Please take a look again. Previous patch ...
7 years, 1 month ago (2013-11-14 08:23:21 UTC) #4
Lei Zhang
https://codereview.chromium.org/70083006/diff/240001/chrome/utility/chrome_content_utility_client.cc File chrome/utility/chrome_content_utility_client.cc (right): https://codereview.chromium.org/70083006/diff/240001/chrome/utility/chrome_content_utility_client.cc#newcode89 chrome/utility/chrome_content_utility_client.cc:89: if (!PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_module_path) && Shouldn't this be: if (!PathService::Get() ...
7 years, 1 month ago (2013-11-14 21:56:54 UTC) #5
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/70083006/diff/240001/chrome/utility/chrome_content_utility_client.cc File chrome/utility/chrome_content_utility_client.cc (right): https://codereview.chromium.org/70083006/diff/240001/chrome/utility/chrome_content_utility_client.cc#newcode89 chrome/utility/chrome_content_utility_client.cc:89: if (!PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_module_path) && On 2013/11/14 21:56:54, Lei Zhang ...
7 years, 1 month ago (2013-11-14 22:10:20 UTC) #6
Lei Zhang
+security folks in case they have any concerns
7 years, 1 month ago (2013-11-14 22:45:59 UTC) #7
jln (very slow on Chromium)
1. Why do you need the PDF library in the utility process on Linux / ...
7 years, 1 month ago (2013-11-14 23:14:17 UTC) #8
Vitaly Buka (NO REVIEWS)
On 2013/11/14 23:14:17, jln wrote: > 1. Why do you need the PDF library in ...
7 years, 1 month ago (2013-11-14 23:53:11 UTC) #9
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/70083006/diff/330001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/70083006/diff/330001/chrome/app/chrome_main_delegate.cc#newcode701 chrome/app/chrome_main_delegate.cc:701: chrome::ChromeContentUtilityClient::PreSandboxStartup(); PreSandboxInit() / PreloadPepperPlugins() are parts of content, I ...
7 years, 1 month ago (2013-11-14 23:53:17 UTC) #10
jln (very slow on Chromium)
https://codereview.chromium.org/70083006/diff/330001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/70083006/diff/330001/chrome/app/chrome_main_delegate.cc#newcode701 chrome/app/chrome_main_delegate.cc:701: chrome::ChromeContentUtilityClient::PreSandboxStartup(); On 2013/11/14 23:53:18, Vitaly Buka wrote: > PreSandboxInit() ...
7 years, 1 month ago (2013-11-15 00:11:21 UTC) #11
Vitaly Buka (NO REVIEWS)
On 2013/11/15 00:11:21, jln wrote: > https://codereview.chromium.org/70083006/diff/330001/chrome/app/chrome_main_delegate.cc > File chrome/app/chrome_main_delegate.cc (right): > > https://codereview.chromium.org/70083006/diff/330001/chrome/app/chrome_main_delegate.cc#newcode701 > ...
7 years, 1 month ago (2013-11-15 00:36:20 UTC) #12
jln (very slow on Chromium)
On 2013/11/15 00:36:20, Vitaly Buka wrote: > On 2013/11/15 00:11:21, jln wrote: > > > ...
7 years, 1 month ago (2013-11-15 21:22:45 UTC) #13
jln (very slow on Chromium)
On Fri, Nov 15, 2013 at 1:22 PM, <jln@chromium.org> wrote: > On 2013/11/15 00:36:20, Vitaly ...
7 years, 1 month ago (2013-11-15 21:29:49 UTC) #14
Lei Zhang
lgtm
7 years, 1 month ago (2013-11-16 00:07:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/70083006/620001
7 years, 1 month ago (2013-11-20 06:20:08 UTC) #16
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 09:07:24 UTC) #17
Message was sent while issue was closed.
Change committed as 236212

Powered by Google App Engine
This is Rietveld 408576698