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

Issue 471773002: Mojo: Add a platform interface for shared memory (embedder::PlatformSharedBuffer). (Closed)

Created:
6 years, 4 months ago by viettrungluu
Modified:
6 years, 4 months ago
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
Project:
chromium
Visibility:
Public.

Description

Mojo: Add a platform interface for shared memory (embedder::PlatformSharedBuffer). Make the existing RawSharedBuffer an implementation of that. Later, we'll plumb in a "PlatformSupport" that'll produce these things, but for now keep the (static) creation methods where they are. R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289667

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebased #

Patch Set 3 : win fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -174 lines) Patch
A mojo/embedder/platform_shared_buffer.h View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
M mojo/mojo_base.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/system/core.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/system/dispatcher.h View 4 chunks +11 lines, -6 lines 0 comments Download
M mojo/system/dispatcher.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M mojo/system/dispatcher_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/mapping_table.h View 3 chunks +9 lines, -4 lines 0 comments Download
M mojo/system/mapping_table.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M mojo/system/multiprocess_message_pipe_unittest.cc View 6 chunks +11 lines, -11 lines 0 comments Download
M mojo/system/raw_shared_buffer.h View 4 chunks +24 lines, -59 lines 0 comments Download
M mojo/system/raw_shared_buffer.cc View 4 chunks +24 lines, -5 lines 0 comments Download
M mojo/system/raw_shared_buffer_posix.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/system/raw_shared_buffer_unittest.cc View 4 chunks +27 lines, -23 lines 0 comments Download
M mojo/system/raw_shared_buffer_win.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/system/remote_message_pipe_unittest.cc View 4 chunks +20 lines, -19 lines 0 comments Download
M mojo/system/shared_buffer_dispatcher.h View 4 chunks +4 lines, -4 lines 0 comments Download
M mojo/system/shared_buffer_dispatcher.cc View 6 chunks +7 lines, -6 lines 0 comments Download
M mojo/system/shared_buffer_dispatcher_unittest.cc View 5 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
viettrungluu
6 years, 4 months ago (2014-08-14 00:06:27 UTC) #1
darin (slow to review)
LGTM https://codereview.chromium.org/471773002/diff/1/mojo/embedder/platform_shared_buffer.h File mojo/embedder/platform_shared_buffer.h (right): https://codereview.chromium.org/471773002/diff/1/mojo/embedder/platform_shared_buffer.h#newcode37 mojo/embedder/platform_shared_buffer.h:37: : public base::RefCountedThreadSafe<PlatformSharedBuffer> { Why reference counted? did ...
6 years, 4 months ago (2014-08-14 05:21:28 UTC) #2
viettrungluu
On 2014/08/14 05:21:28, darin wrote: > LGTM > > https://codereview.chromium.org/471773002/diff/1/mojo/embedder/platform_shared_buffer.h > File mojo/embedder/platform_shared_buffer.h (right): > ...
6 years, 4 months ago (2014-08-14 15:29:50 UTC) #3
darin (slow to review)
On Thu, Aug 14, 2014 at 8:29 AM, <viettrungluu@chromium.org> wrote: > On 2014/08/14 05:21:28, darin ...
6 years, 4 months ago (2014-08-14 16:03:22 UTC) #4
viettrungluu
On 2014/08/14 16:03:22, darin wrote: > On Thu, Aug 14, 2014 at 8:29 AM, <mailto:viettrungluu@chromium.org> ...
6 years, 4 months ago (2014-08-14 17:16:28 UTC) #5
darin (slow to review)
OK On Thu, Aug 14, 2014 at 10:16 AM, <viettrungluu@chromium.org> wrote: > On 2014/08/14 16:03:22, ...
6 years, 4 months ago (2014-08-14 17:50:46 UTC) #6
viettrungluu
6 years, 4 months ago (2014-08-14 19:35:51 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as 289667 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698