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

Issue 10174048: PPAPI/NaCl: Speculative implementation for ipc_channel_nacl.cc (Closed)

Created:
8 years, 8 months ago by dmichael (off chromium)
Modified:
8 years, 6 months ago
Reviewers:
Mark Seaborn, bbudge, brettw
CC:
chromium-reviews, erikwright (departed), darin-cc_chromium.org, jam, sadrul, brettw-cc_chromium.org
Visibility:
Public.

Description

PPAPI/NaCl: Speculative implementation for ipc_channel_nacl.cc BUG=116317 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139635

Patch Set 1 #

Patch Set 2 : implemented reader & writer thread #

Patch Set 3 : eliminate writer thread, make reading loop tighter #

Total comments: 19

Patch Set 4 : Fix review comments. #

Total comments: 1

Patch Set 5 : fix some TODOs #

Total comments: 2

Patch Set 6 : review comments #

Patch Set 7 : merge, fix link errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -91 lines) Patch
M base/message_loop.cc View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M ipc/ipc_channel_nacl.h View 1 2 3 4 5 6 3 chunks +69 lines, -11 lines 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 2 3 4 5 6 3 chunks +263 lines, -73 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ppapi/ppapi_proxy_untrusted.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/proxy_channel.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/proxy_channel.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
dmichael (off chromium)
I think this is ready for a first-look... it compiles, and is hopefully plausible looking ...
8 years, 7 months ago (2012-05-01 21:42:10 UTC) #1
Mark Seaborn
http://codereview.chromium.org/10174048/diff/3005/ipc/ipc_channel_nacl.cc File ipc/ipc_channel_nacl.cc (right): http://codereview.chromium.org/10174048/diff/3005/ipc/ipc_channel_nacl.cc#newcode23 ipc/ipc_channel_nacl.cc:23: #include "sys/nacl_imc_api.h" These "sys/nacl_*" headers are "system" headers for ...
8 years, 7 months ago (2012-05-01 22:07:09 UTC) #2
brettw
Didn't look at the .cc file yet. http://codereview.chromium.org/10174048/diff/3005/build/all.gyp File build/all.gyp (right): http://codereview.chromium.org/10174048/diff/3005/build/all.gyp#newcode26 build/all.gyp:26: '../ppapi/ppapi_proxy_untrusted.gyp:*', Don't ...
8 years, 7 months ago (2012-05-01 22:29:47 UTC) #3
brettw
http://codereview.chromium.org/10174048/diff/3005/ipc/ipc_channel_nacl.cc File ipc/ipc_channel_nacl.cc (right): http://codereview.chromium.org/10174048/diff/3005/ipc/ipc_channel_nacl.cc#newcode87 ipc/ipc_channel_nacl.cc:87: private: Blank line before this. http://codereview.chromium.org/10174048/diff/3005/ipc/ipc_channel_nacl.cc#newcode94 ipc/ipc_channel_nacl.cc:94: DISALLOW_COPY_AND_ASSIGN(ReaderThreadRunner); Blank ...
8 years, 7 months ago (2012-05-02 18:18:56 UTC) #4
dmichael (off chromium)
Comments addressed. I can leave this hanging until the NaClDescCustom side is done, if we ...
8 years, 7 months ago (2012-05-03 17:06:31 UTC) #5
brettw
LGTM, good luck debugging this!
8 years, 7 months ago (2012-05-03 21:06:25 UTC) #6
Mark Seaborn
On 3 May 2012 10:06, <dmichael@chromium.org> wrote: > Comments addressed. I can leave this hanging ...
8 years, 7 months ago (2012-05-03 21:34:29 UTC) #7
Mark Seaborn
https://chromiumcodereview.appspot.com/10174048/diff/10005/ipc/ipc_channel_nacl.cc File ipc/ipc_channel_nacl.cc (right): https://chromiumcodereview.appspot.com/10174048/diff/10005/ipc/ipc_channel_nacl.cc#newcode178 ipc/ipc_channel_nacl.cc:178: close(pipe_); Doing close() before joining the thread is not ...
8 years, 7 months ago (2012-05-03 21:42:22 UTC) #8
dmichael (off chromium)
On 2012/05/03 21:34:29, Mark Seaborn wrote: > On 3 May 2012 10:06, <mailto:dmichael@chromium.org> wrote: > ...
8 years, 7 months ago (2012-05-03 22:29:43 UTC) #9
dmichael (off chromium)
> > There's no stable ABI to be compatible with. getpid() was only ever > ...
8 years, 7 months ago (2012-05-03 22:43:05 UTC) #10
Mark Seaborn
On 3 May 2012 15:29, <dmichael@chromium.org> wrote: > On 2012/05/03 21:34:29, Mark Seaborn wrote: > ...
8 years, 7 months ago (2012-05-03 22:55:00 UTC) #11
Mark Seaborn
On 3 May 2012 15:43, <dmichael@chromium.org> wrote: > > There's no stable ABI to be ...
8 years, 7 months ago (2012-05-03 22:56:41 UTC) #12
dmichael (off chromium)
Removed some of the placeholders, TODOs, and the "Hello" message stuff. PTAL
8 years, 7 months ago (2012-05-10 22:36:51 UTC) #13
bbudge
http://codereview.chromium.org/10174048/diff/21005/ipc/ipc_channel_nacl.cc File ipc/ipc_channel_nacl.cc (right): http://codereview.chromium.org/10174048/diff/21005/ipc/ipc_channel_nacl.cc#newcode34 ipc/ipc_channel_nacl.cc:34: return null_ptr.Pass(); why not just 'return null_ptr;' or even ...
8 years, 7 months ago (2012-05-16 23:50:06 UTC) #14
dmichael (off chromium)
On May 16, 2012 5:50 PM, <bbudge@chromium.org> wrote: > > > http://codereview.chromium.org/10174048/diff/21005/ipc/ipc_channel_nacl.cc > File ipc/ipc_channel_nacl.cc ...
8 years, 7 months ago (2012-05-17 02:19:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/10174048/31005
8 years, 6 months ago (2012-05-30 16:37:42 UTC) #16
commit-bot: I haz the power
Try job failure for 10174048-31005 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 6 months ago (2012-05-30 19:35:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/10174048/31005
8 years, 6 months ago (2012-05-30 19:40:05 UTC) #18
commit-bot: I haz the power
8 years, 6 months ago (2012-05-30 21:12:27 UTC) #19
Change committed as 139635

Powered by Google App Engine
This is Rietveld 408576698