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

Issue 9863005: Initial implementation of an IPC adapter to expose Chrome IPC to Native Client. (Closed)

Created:
8 years, 9 months ago by brettw
Modified:
8 years, 8 months ago
Reviewers:
bbudge
CC:
chromium-reviews, darin-cc_chromium.org, native-client-reviews_googlegroups.com, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Initial implementation of an IPC adapter to expose Chrome IPC to Native Client. This provides an implementation of sendmsg and recvmsg approxinately to what we think NaCl will expose to Chrome. Since NaCl isn't ready yet in this regard, it's still a bit speculative. And there is no support for sending handles across which will be the tricky part. TEST=included unit test BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129981

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : git try #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+911 lines, -19 lines) Patch
M base/pickle.h View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/nacl.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/nacl/nacl_ipc_adapter.h View 1 2 3 1 chunk +143 lines, -0 lines 0 comments Download
A chrome/nacl/nacl_ipc_adapter.cc View 1 2 3 4 1 chunk +333 lines, -0 lines 0 comments Download
A chrome/nacl/nacl_ipc_adapter_unittest.cc View 1 2 3 4 5 6 7 1 chunk +288 lines, -0 lines 0 comments Download
A chrome/nacl/nacl_ipc_manager.h View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/nacl/nacl_ipc_manager.cc View 1 chunk +60 lines, -0 lines 0 comments Download
M ipc/ipc_message.h View 4 chunks +18 lines, -15 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
brettw
Jam -> IPC Bill -> everything else
8 years, 9 months ago (2012-03-26 21:45:53 UTC) #1
bbudge
http://codereview.chromium.org/9863005/diff/1/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): http://codereview.chromium.org/9863005/diff/1/chrome/nacl/nacl_ipc_adapter.cc#newcode166 chrome/nacl/nacl_ipc_adapter.cc:166: // Nothing accumulated, so see if the input data ...
8 years, 9 months ago (2012-03-26 22:52:30 UTC) #2
brettw
New snap up with comments addressed. http://codereview.chromium.org/9863005/diff/1/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): http://codereview.chromium.org/9863005/diff/1/chrome/nacl/nacl_ipc_adapter.cc#newcode166 chrome/nacl/nacl_ipc_adapter.cc:166: // Nothing accumulated, ...
8 years, 9 months ago (2012-03-27 17:40:27 UTC) #3
bbudge
More comments. Mostly readability. http://codereview.chromium.org/9863005/diff/2001/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): http://codereview.chromium.org/9863005/diff/2001/chrome/nacl/nacl_ipc_adapter.cc#newcode34 chrome/nacl/nacl_ipc_adapter.cc:34: BUFFER_UNDERFLOW This name seems counterintuitive ...
8 years, 9 months ago (2012-03-27 18:38:36 UTC) #4
brettw
New snap up
8 years, 9 months ago (2012-03-28 18:08:03 UTC) #5
bbudge
8 years, 9 months ago (2012-03-28 18:16:07 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698