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

Issue 2550723002: Resurrect POSIX shared memory support on mac (Closed)

Created:
4 years ago by lawrencewu
Modified:
4 years ago
Reviewers:
erikchen
CC:
chromium-reviews, mac-reviews_chromium.org, gavinp+memory_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Resurrect POSIX shared memory support on mac BUG=

Patch Set 1 #

Patch Set 2 : make MACH default shared memory #

Patch Set 3 : fix some runtime issues #

Patch Set 4 : resurrect ipc handling #

Patch Set 5 : git cl format #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+569 lines, -100 lines) Patch
M base/memory/shared_memory.h View 6 chunks +25 lines, -5 lines 0 comments Download
M base/memory/shared_memory_handle.h View 1 2 3 4 chunks +57 lines, -12 lines 0 comments Download
M base/memory/shared_memory_handle_mac.cc View 1 2 3 4 5 chunks +133 lines, -37 lines 0 comments Download
M base/memory/shared_memory_mac.cc View 1 2 8 chunks +243 lines, -15 lines 0 comments Download
M base/memory/shared_memory_unittest.cc View 1 2 3 4 8 chunks +18 lines, -5 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M ipc/ipc_message_utils.cc View 1 2 3 4 1 chunk +69 lines, -21 lines 0 comments Download
M mojo/edk/embedder/platform_shared_buffer.cc View 1 2 3 4 3 chunks +17 lines, -3 lines 1 comment Download

Messages

Total messages: 10 (8 generated)
erikchen
https://codereview.chromium.org/2550723002/diff/80001/mojo/edk/embedder/platform_shared_buffer.cc File mojo/edk/embedder/platform_shared_buffer.cc (right): https://codereview.chromium.org/2550723002/diff/80001/mojo/edk/embedder/platform_shared_buffer.cc#newcode36 mojo/edk/embedder/platform_shared_buffer.cc:36: if (memory_handle.GetType() == base::SharedMemoryHandle::MACH) { we never pass posix ...
4 years ago (2016-12-06 17:32:32 UTC) #8
lawrencewu
4 years ago (2016-12-06 18:17:04 UTC) #9
On 2016/12/06 17:32:32, erikchen wrote:
>
https://codereview.chromium.org/2550723002/diff/80001/mojo/edk/embedder/platf...
> File mojo/edk/embedder/platform_shared_buffer.cc (right):
> 
>
https://codereview.chromium.org/2550723002/diff/80001/mojo/edk/embedder/platf...
> mojo/edk/embedder/platform_shared_buffer.cc:36: if (memory_handle.GetType() ==
> base::SharedMemoryHandle::MACH) {
> we never pass posix SHM on Mac over Chrome/Mojo IPC, so the only changes to
> mojo/ should be adding a bunch of NOTREACHED(), or perhaps even CHECK(false)
to
> make sure this doesn't happen in the wild.

Closing, the new CL should be at https://codereview.chromium.org/2555483002/.

Powered by Google App Engine
This is Rietveld 408576698