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

Issue 1740953002: [mojo-edk] Serialise windows handles into an "extra header" section. (Closed)

Created:
4 years, 10 months ago by Anand Mistry (off Chromium)
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mojo-edk] Serialise windows handles into an "extra header" section. This change introduces an "extra header" section of a channel message header. On windows, platform handles are place into this section instead of being appended to the end of a message. At the same time, make a couple of smaller changes: 1. Allow the number of serialised handles to be less than the number stated in the constructor. 2. Add a has_mach_ports() helper function. 3. Limit the number of attached handles. These changes are all prep work for Mach ports support. BUG=582468 Committed: https://crrev.com/fbebd41187198e7782b3fec9ddf9f155b9df1789 Cr-Commit-Position: refs/heads/master@{#378099}

Patch Set 1 #

Patch Set 2 : Fix build. #

Patch Set 3 : Build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -61 lines) Patch
M mojo/edk/system/channel.h View 5 chunks +32 lines, -16 lines 0 comments Download
M mojo/edk/system/channel.cc View 1 2 4 chunks +75 lines, -37 lines 0 comments Download
M mojo/edk/system/channel_posix.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M mojo/edk/system/channel_win.cc View 1 chunk +4 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Anand Mistry (off Chromium)
4 years, 10 months ago (2016-02-26 08:53:46 UTC) #2
Ken Rockot(use gerrit already)
lgtm with a question: why do we want max handles vs num handles?
4 years, 9 months ago (2016-02-26 23:07:12 UTC) #3
Anand Mistry (off Chromium)
Because when forwarding mach ports through the broker, handles need to be detached from the ...
4 years, 9 months ago (2016-02-27 00:36:22 UTC) #4
Ken Rockot(use gerrit already)
got it, thanks On Fri, Feb 26, 2016 at 4:36 PM, Anand K. Mistry <amistry@chromium.org> ...
4 years, 9 months ago (2016-02-27 00:37:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740953002/40001
4 years, 9 months ago (2016-02-27 02:03:08 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-02-27 03:18:28 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/fbebd41187198e7782b3fec9ddf9f155b9df1789 Cr-Commit-Position: refs/heads/master@{#378099}
4 years, 9 months ago (2016-02-27 03:19:17 UTC) #10
Ken Rockot(use gerrit already)
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1753723003/ by rockot@chromium.org. ...
4 years, 9 months ago (2016-03-01 18:31:09 UTC) #11
Anand Mistry (off Chromium)
On 2016/03/01 18:31:09, Ken Rockot wrote: > A revert of this CL (patchset #3 id:40001) ...
4 years, 9 months ago (2016-03-01 20:19:20 UTC) #12
Ken Rockot(use gerrit already)
4 years, 9 months ago (2016-03-01 20:20:52 UTC) #13
Message was sent while issue was closed.
I agree. I am going to make a change ASAP to get the ARC bridge off of
ChannelPosix.

On Tue, Mar 1, 2016 at 12:19 PM, <amistry@chromium.org> wrote:

> On 2016/03/01 18:31:09, Ken Rockot wrote:
> > A revert of this CL (patchset #3 id:40001) has been created in
> > https://codereview.chromium.org/1753723003/ by mailto:
> rockot@chromium.org.
> >
> > The reason for reverting is: Reverting per ARC++ request. Let's reland
> in a
> way
> > that doesn't affect non-OSX POSIX. :|.
>
> I still think this CL is the best way forward and don't think we should be
> committing to a stable wire format for the EDK. Maybe one day, but it's
> entirely
> inappropriate at this stage.
>
> https://codereview.chromium.org/1740953002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698