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

Issue 718453003: Initialize V8 in PDFium from external files (plugin process only) (Closed)

Created:
6 years, 1 month ago by baixo
Modified:
6 years, 1 month ago
CC:
chromium-reviews, jam, stuartmorgan+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Initialize V8 in PDFium from external files (plugin process only) BUG=421063 Committed: https://crrev.com/5c1aafbd7729d2d1fd1bea34e865cd83080ddd8c Cr-Commit-Position: refs/heads/master@{#304223}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address comments from Raymes #

Total comments: 2

Patch Set 3 : Added gyp/gn dependencies on gin #

Patch Set 4 : Fix API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -7 lines) Patch
M chrome/chrome_plugin.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/chrome_content_plugin_client.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M components/pdf/renderer/ppb_pdf_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pdf/instance.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pdf/out_of_process_instance.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M ppapi/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/c/private/ppb_pdf.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/cpp/private/pdf.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/cpp/private/pdf.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M ppapi/ppapi_internal.gyp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/pdf_resource.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/proxy/pdf_resource.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M ppapi/tests/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_pdf.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_pdf.cc View 1 2 3 chunks +30 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_pdf_api.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_pdf_thunk.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
baixo1
** Please, ignore the other CL ** This CL assumes that the "in-renderer" one has ...
6 years, 1 month ago (2014-11-10 18:13:23 UTC) #2
raymes
Looks good, thank you! https://codereview.chromium.org/718453003/diff/1/chrome/plugin/chrome_content_plugin_client.cc File chrome/plugin/chrome_content_plugin_client.cc (right): https://codereview.chromium.org/718453003/diff/1/chrome/plugin/chrome_content_plugin_client.cc#newcode27 chrome/plugin/chrome_content_plugin_client.cc:27: #ifdef V8_USE_EXTERNAL_STARTUP_DATA Should we just ...
6 years, 1 month ago (2014-11-11 03:26:39 UTC) #3
baixo1
jochen@: could you please take a look at the chrome part? jschuh@: could you please ...
6 years, 1 month ago (2014-11-11 10:56:11 UTC) #5
raymes
Can we add a test inside ppapi/tests/test_pdf.cc. It would just call the function and do ...
6 years, 1 month ago (2014-11-11 23:02:22 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/718453003/diff/20001/chrome/plugin/DEPS File chrome/plugin/DEPS (right): https://codereview.chromium.org/718453003/diff/20001/chrome/plugin/DEPS#newcode3 chrome/plugin/DEPS:3: "+gin/public/isolate_holder.h", if you add new DEPS, you'll also need ...
6 years, 1 month ago (2014-11-12 15:02:49 UTC) #7
baixo1
jochen@: Done. raymes@: I added the test you requested and I also had to add ...
6 years, 1 month ago (2014-11-12 18:32:26 UTC) #8
baixo1
jschuh@: could you please take a look at chrome/plugin/chrome_content_plugin_client.cc ? Thanks!
6 years, 1 month ago (2014-11-12 18:38:19 UTC) #9
raymes
lgtm!
6 years, 1 month ago (2014-11-12 22:47:51 UTC) #10
jschuh
https://codereview.chromium.org/718453003/diff/1/chrome/plugin/chrome_content_plugin_client.cc File chrome/plugin/chrome_content_plugin_client.cc (right): https://codereview.chromium.org/718453003/diff/1/chrome/plugin/chrome_content_plugin_client.cc#newcode28 chrome/plugin/chrome_content_plugin_client.cc:28: gin::IsolateHolder::LoadV8Snapshot(); On 2014/11/11 10:56:11, baixo1 wrote: > On 2014/11/11 ...
6 years, 1 month ago (2014-11-13 00:13:26 UTC) #11
raymes
I think this will be enabled in stable builds of chrome. FWIU we already do ...
6 years, 1 month ago (2014-11-13 00:26:28 UTC) #12
baixo1
On 2014/11/13 00:26:28, raymes wrote: > I think this will be enabled in stable builds ...
6 years, 1 month ago (2014-11-13 10:59:52 UTC) #13
jschuh
lgtm
6 years, 1 month ago (2014-11-13 16:24:37 UTC) #14
jochen (gone - plz use gerrit)
lgtm
6 years, 1 month ago (2014-11-13 19:43:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/718453003/40001
6 years, 1 month ago (2014-11-13 19:46:24 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/16919) linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/17044)
6 years, 1 month ago (2014-11-13 19:54:22 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/718453003/60001
6 years, 1 month ago (2014-11-14 15:40:44 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-11-14 16:34:39 UTC) #22
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 16:35:29 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5c1aafbd7729d2d1fd1bea34e865cd83080ddd8c
Cr-Commit-Position: refs/heads/master@{#304223}

Powered by Google App Engine
This is Rietveld 408576698