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

Issue 339213003: Pepper: Simplify OpenResource() for Non-SFI. (Closed)

Created:
6 years, 6 months ago by teravest
Modified:
6 years, 6 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Pepper: Simplify OpenResource() for Non-SFI. The Non-SFI implementation of OpenResource is pretty complicated. This is because the logic to support that operation was entirely in the trusted plugin. Now, we can perform the necessary logic entirely in Chromium, so it can be made much simpler. CQ_EXTRA_TRYBOTS=tryserver.chromium:linux_rel_precise32 BUG=239656 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278859

Patch Set 1 #

Total comments: 24

Patch Set 2 : Fixes for dmichael and hidehiko #

Total comments: 1

Patch Set 3 : remove function local static #

Total comments: 2

Patch Set 4 : fixes for hidehiko #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -178 lines) Patch
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 13 chunks +130 lines, -55 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 chunks +1 line, -8 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.h View 3 chunks +2 lines, -16 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.cc View 1 10 chunks +1 line, -91 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
teravest
6 years, 6 months ago (2014-06-17 20:17:55 UTC) #1
dmichael (off chromium)
https://codereview.chromium.org/339213003/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/339213003/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode202 components/nacl/renderer/ppb_nacl_private_impl.cc:202: PP_PNaClOptions pnacl_options = {PP_FALSE, PP_FALSE, 2}; nit: This would ...
6 years, 6 months ago (2014-06-17 21:52:28 UTC) #2
hidehiko
https://codereview.chromium.org/339213003/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/339213003/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode116 components/nacl/renderer/ppb_nacl_private_impl.cc:116: PP_NaClFileInfo MakeInvalidNaClFileInfo() { Just FYI: How about using a ...
6 years, 6 months ago (2014-06-18 04:43:12 UTC) #3
teravest
https://codereview.chromium.org/339213003/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/339213003/diff/1/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode116 components/nacl/renderer/ppb_nacl_private_impl.cc:116: PP_NaClFileInfo MakeInvalidNaClFileInfo() { On 2014/06/18 04:43:11, hidehiko wrote: > ...
6 years, 6 months ago (2014-06-18 20:13:44 UTC) #4
dmichael (off chromium)
lgtm https://codereview.chromium.org/339213003/diff/40001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/339213003/diff/40001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode117 components/nacl/renderer/ppb_nacl_private_impl.cc:117: static const PP_NaClFileInfo kInvalidNaClFileInfo = { Note this ...
6 years, 6 months ago (2014-06-18 20:40:30 UTC) #5
teravest
On 2014/06/18 20:40:30, dmichael wrote: > lgtm > > https://codereview.chromium.org/339213003/diff/40001/components/nacl/renderer/ppb_nacl_private_impl.cc > File components/nacl/renderer/ppb_nacl_private_impl.cc (right): > ...
6 years, 6 months ago (2014-06-18 21:17:07 UTC) #6
hidehiko
lgtm https://codereview.chromium.org/339213003/diff/50006/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/339213003/diff/50006/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode117 components/nacl/renderer/ppb_nacl_private_impl.cc:117: const PP_NaClFileInfo kInvalidNaClFileInfo = { nit: Sorry for ...
6 years, 6 months ago (2014-06-20 04:36:11 UTC) #7
teravest
On Thu, Jun 19, 2014 at 10:36 PM, <hidehiko@chromium.org> wrote: > lgtm > > > ...
6 years, 6 months ago (2014-06-20 16:46:11 UTC) #8
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 6 months ago (2014-06-20 19:10:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/339213003/90001
6 years, 6 months ago (2014-06-20 19:13:12 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 22:09:37 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 23:31:37 UTC) #12
Message was sent while issue was closed.
Change committed as 278859

Powered by Google App Engine
This is Rietveld 408576698