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

Issue 304233005: Mojo: Implement passing of shared buffers across processes on POSIX. (Closed)

Created:
6 years, 6 months ago by viettrungluu
Modified:
6 years, 6 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Visibility:
Public.

Description

Mojo: Implement passing of shared buffers across processes on POSIX. (Currently, the only test is in-process. I'll rectify that separately.) R=yzshen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273887

Patch Set 1 #

Total comments: 11

Patch Set 2 : remove RawSharedBuffer's mutex #

Patch Set 3 : elaborate on comment #

Patch Set 4 : oops #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -25 lines) Patch
M mojo/system/dispatcher.cc View 2 chunks +5 lines, -1 line 0 comments Download
M mojo/system/raw_shared_buffer.h View 1 2 4 chunks +27 lines, -10 lines 0 comments Download
M mojo/system/raw_shared_buffer.cc View 1 3 chunks +31 lines, -4 lines 0 comments Download
M mojo/system/raw_shared_buffer_posix.cc View 1 3 chunks +35 lines, -5 lines 0 comments Download
M mojo/system/raw_shared_buffer_win.cc View 1 2 chunks +11 lines, -5 lines 0 comments Download
M mojo/system/remote_message_pipe_unittest.cc View 2 chunks +122 lines, -0 lines 0 comments Download
M mojo/system/shared_buffer_dispatcher.h View 2 chunks +16 lines, -0 lines 0 comments Download
M mojo/system/shared_buffer_dispatcher.cc View 1 2 3 3 chunks +99 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
viettrungluu
6 years, 6 months ago (2014-05-29 22:04:11 UTC) #1
yzshen1
https://codereview.chromium.org/304233005/diff/1/mojo/system/raw_shared_buffer.cc File mojo/system/raw_shared_buffer.cc (right): https://codereview.chromium.org/304233005/diff/1/mojo/system/raw_shared_buffer.cc#newcode22 mojo/system/raw_shared_buffer.cc:22: scoped_refptr<RawSharedBuffer> deleter(rv); With the raw and zero-ref-count |rv|, if ...
6 years, 6 months ago (2014-05-30 00:09:34 UTC) #2
viettrungluu
https://codereview.chromium.org/304233005/diff/1/mojo/system/raw_shared_buffer.cc File mojo/system/raw_shared_buffer.cc (right): https://codereview.chromium.org/304233005/diff/1/mojo/system/raw_shared_buffer.cc#newcode22 mojo/system/raw_shared_buffer.cc:22: scoped_refptr<RawSharedBuffer> deleter(rv); On 2014/05/30 00:09:35, yzshen1 wrote: > With ...
6 years, 6 months ago (2014-05-30 00:23:41 UTC) #3
yzshen1
https://codereview.chromium.org/304233005/diff/1/mojo/system/raw_shared_buffer.cc File mojo/system/raw_shared_buffer.cc (right): https://codereview.chromium.org/304233005/diff/1/mojo/system/raw_shared_buffer.cc#newcode74 mojo/system/raw_shared_buffer.cc:74: embedder::ScopedPlatformHandle RawSharedBuffer::DuplicatePlatformHandle() { On 2014/05/30 00:23:42, viettrungluu wrote: > ...
6 years, 6 months ago (2014-05-30 00:27:48 UTC) #4
viettrungluu
Thanks, PTAL. On 2014/05/30 00:27:48, yzshen1 wrote: > https://codereview.chromium.org/304233005/diff/1/mojo/system/raw_shared_buffer.cc > File mojo/system/raw_shared_buffer.cc (right): > > ...
6 years, 6 months ago (2014-05-30 16:36:04 UTC) #5
yzshen1
There are two nits in mojo/system/shared_buffer_dispatcher.cc that haven't been addressed. Other than that LGTM
6 years, 6 months ago (2014-05-30 16:44:15 UTC) #6
viettrungluu
Thanks. On 2014/05/30 16:44:15, yzshen1 wrote: > There are two nits in mojo/system/shared_buffer_dispatcher.cc that haven't ...
6 years, 6 months ago (2014-05-30 17:12:27 UTC) #7
viettrungluu
6 years, 6 months ago (2014-05-30 19:37:12 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r273887 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698