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

Issue 472073003: Pepper: Make pending_sync_msgs_ local to IO thread. (Closed)

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

Description

Pepper: Make pending_sync_msgs_ local to IO thread. Adding support for PpapiHostMessage_OpenResource to SFI mode is tricky. Validating the file tokens requires that a message to be sent to the browser (!) to validate that information in the case of a compromised renderer. This change is one step to allowing processing for the reply of the PpapiHostMessage_OpenResource message to send a message to the browser for constructing a NaClDesc properly. This makes the encapsulation of NaClMessageScanner a bit worse, but also reduces the amount of code for which the critical section under lock_ must be held. BUG=394130 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291234

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : fixes for dmichael. #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -77 lines) Patch
M components/nacl/loader/nacl_ipc_adapter.h View 1 chunk +6 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 2 3 2 chunks +21 lines, -2 lines 0 comments Download
M ppapi/proxy/nacl_message_scanner.h View 1 2 2 chunks +5 lines, -8 lines 0 comments Download
M ppapi/proxy/nacl_message_scanner.cc View 4 chunks +6 lines, -31 lines 0 comments Download
M ppapi/proxy/nacl_message_scanner_unittest.cc View 1 2 3 5 chunks +9 lines, -36 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
teravest
This patch is currently only for discussion; see http://crbug.com/394130 for why I'm exploring this approach. ...
6 years, 4 months ago (2014-08-14 21:22:25 UTC) #1
teravest
-bbudge +dmichael
6 years, 4 months ago (2014-08-18 17:41:40 UTC) #2
dmichael (off chromium)
I haven't taken the time to understand how this will help you for validation caching, ...
6 years, 4 months ago (2014-08-18 20:06:09 UTC) #3
teravest
On Mon, Aug 18, 2014 at 2:06 PM, <dmichael@chromium.org> wrote: > I haven't taken the ...
6 years, 4 months ago (2014-08-18 21:53:12 UTC) #4
dmichael (off chromium)
lgtm
6 years, 4 months ago (2014-08-18 22:43:40 UTC) #5
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 4 months ago (2014-08-21 17:21:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/472073003/60001
6 years, 4 months ago (2014-08-21 17:27:08 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 23:19:23 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (60001) as 291234

Powered by Google App Engine
This is Rietveld 408576698