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

Issue 1555273002: [mojo] Add CreateSharedBuffer method to Broker. (Closed)

Created:
4 years, 11 months ago by Eliot Courtney
Modified:
4 years, 11 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mojo] Add CreateSharedBuffer method to Broker. BUG=556258 Committed: https://crrev.com/565052abf18c8c6cad9a960831fc01f9d6b5b98a Cr-Commit-Position: refs/heads/master@{#369631}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 22

Patch Set 5 : address comments #

Patch Set 6 : #

Total comments: 10

Patch Set 7 : #

Total comments: 6

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : comments #

Patch Set 11 : sync #

Patch Set 12 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -63 lines) Patch
M mojo/edk/embedder/platform_channel_utils_posix.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M mojo/edk/embedder/platform_channel_utils_posix.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M mojo/edk/system/broker.h View 2 chunks +5 lines, -0 lines 0 comments Download
M mojo/edk/system/broker_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -9 lines 0 comments Download
M mojo/edk/system/broker_state.h View 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/edk/system/broker_state.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M mojo/edk/system/child_broker.h View 1 2 3 4 3 chunks +11 lines, -1 line 0 comments Download
M mojo/edk/system/child_broker.cc View 1 2 3 4 5 6 7 6 chunks +93 lines, -23 lines 0 comments Download
M mojo/edk/system/child_broker_host.h View 1 2 3 4 5 6 7 8 3 chunks +19 lines, -10 lines 0 comments Download
M mojo/edk/system/child_broker_host.cc View 1 2 3 4 5 6 7 8 9 7 chunks +123 lines, -17 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (4 generated)
Eliot Courtney
4 years, 11 months ago (2016-01-05 03:17:14 UTC) #2
Eliot Courtney
I've made a few comments on my own code with some questions I had. https://codereview.chromium.org/1555273002/diff/60001/mojo/edk/system/child_broker.cc ...
4 years, 11 months ago (2016-01-05 04:45:47 UTC) #3
jam
https://codereview.chromium.org/1555273002/diff/60001/mojo/edk/system/broker_messages.h File mojo/edk/system/broker_messages.h (right): https://codereview.chromium.org/1555273002/diff/60001/mojo/edk/system/broker_messages.h#newcode23 mojo/edk/system/broker_messages.h:23: enum WindowsSandboxMessages { nit: lets share the enum class ...
4 years, 11 months ago (2016-01-06 02:58:16 UTC) #4
Anand Mistry (off Chromium)
Before I review this (since my comments will be affected by the answer), do we ...
4 years, 11 months ago (2016-01-06 06:43:56 UTC) #5
Eliot Courtney
On 2016/01/06 06:43:56, Anand Mistry wrote: > Before I review this (since my comments will ...
4 years, 11 months ago (2016-01-06 23:56:47 UTC) #6
jam
On 2016/01/06 06:43:56, Anand Mistry wrote: > Before I review this (since my comments will ...
4 years, 11 months ago (2016-01-07 00:32:38 UTC) #7
Eliot Courtney
https://codereview.chromium.org/1555273002/diff/60001/mojo/edk/system/broker_messages.h File mojo/edk/system/broker_messages.h (right): https://codereview.chromium.org/1555273002/diff/60001/mojo/edk/system/broker_messages.h#newcode23 mojo/edk/system/broker_messages.h:23: enum WindowsSandboxMessages { On 2016/01/06 02:58:16, jam wrote: > ...
4 years, 11 months ago (2016-01-07 02:26:09 UTC) #8
Anand Mistry (off Chromium)
https://codereview.chromium.org/1555273002/diff/100001/mojo/edk/system/broker_messages.h File mojo/edk/system/broker_messages.h (right): https://codereview.chromium.org/1555273002/diff/100001/mojo/edk/system/broker_messages.h#newcode22 mojo/edk/system/broker_messages.h:22: enum SandboxMessages { Not your fault, but these should ...
4 years, 11 months ago (2016-01-07 04:36:33 UTC) #9
Eliot Courtney
https://codereview.chromium.org/1555273002/diff/100001/mojo/edk/system/broker_messages.h File mojo/edk/system/broker_messages.h (right): https://codereview.chromium.org/1555273002/diff/100001/mojo/edk/system/broker_messages.h#newcode22 mojo/edk/system/broker_messages.h:22: enum SandboxMessages { On 2016/01/07 04:36:33, Anand Mistry wrote: ...
4 years, 11 months ago (2016-01-07 05:01:30 UTC) #10
jam
https://codereview.chromium.org/1555273002/diff/60001/mojo/edk/system/child_broker.cc File mojo/edk/system/child_broker.cc (right): https://codereview.chromium.org/1555273002/diff/60001/mojo/edk/system/child_broker.cc#newcode45 mojo/edk/system/child_broker.cc:45: ssize_t result = PlatformChannelRecvmsg(parent_sync_channel_.get(), buf, 1, On 2016/01/07 02:26:09, ...
4 years, 11 months ago (2016-01-08 22:37:41 UTC) #11
Eliot Courtney
I noticed that in PlatformChannelRecvmsg it passes MSG_DONTWAIT to recvmsg, which means that even if ...
4 years, 11 months ago (2016-01-10 01:31:59 UTC) #12
jam
lgtm with minor comments https://codereview.chromium.org/1555273002/diff/120001/mojo/edk/system/child_broker_host.cc File mojo/edk/system/child_broker_host.cc (right): https://codereview.chromium.org/1555273002/diff/120001/mojo/edk/system/child_broker_host.cc#newcode411 mojo/edk/system/child_broker_host.cc:411: &iov, 1, &handle, 1); On ...
4 years, 11 months ago (2016-01-11 04:56:50 UTC) #13
Anand Mistry (off Chromium)
lgtm
4 years, 11 months ago (2016-01-11 06:14:46 UTC) #14
Eliot Courtney
https://codereview.chromium.org/1555273002/diff/120001/mojo/edk/system/child_broker_host.cc File mojo/edk/system/child_broker_host.cc (right): https://codereview.chromium.org/1555273002/diff/120001/mojo/edk/system/child_broker_host.cc#newcode411 mojo/edk/system/child_broker_host.cc:411: &iov, 1, &handle, 1); On 2016/01/11 04:56:49, jam wrote: ...
4 years, 11 months ago (2016-01-12 00:30:19 UTC) #15
jam
On 2016/01/12 00:30:19, Eliot Courtney wrote: > https://codereview.chromium.org/1555273002/diff/120001/mojo/edk/system/child_broker_host.cc > File mojo/edk/system/child_broker_host.cc (right): > > https://codereview.chromium.org/1555273002/diff/120001/mojo/edk/system/child_broker_host.cc#newcode411 ...
4 years, 11 months ago (2016-01-12 07:42:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1555273002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1555273002/220001
4 years, 11 months ago (2016-01-14 23:33:37 UTC) #19
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 11 months ago (2016-01-15 00:39:13 UTC) #20
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/565052abf18c8c6cad9a960831fc01f9d6b5b98a Cr-Commit-Position: refs/heads/master@{#369631}
4 years, 11 months ago (2016-01-15 00:41:49 UTC) #22
Eliot Courtney
4 years, 11 months ago (2016-01-18 07:25:10 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #12 id:220001) has been created in
https://codereview.chromium.org/1598223004/ by edcourtney@chromium.org.

The reason for reverting is: This breaks some tests on the CFI bot. Reverting
until I work out the fix.

https://code.google.com/p/chromium/issues/detail?id=578716.

Powered by Google App Engine
This is Rietveld 408576698