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

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

Created:
4 years, 9 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

Re-land: [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. This re-land perserves the old wire format and message semantics on ChromeOS and changes it on all other platforms. Original change: https://codereview.chromium.org/1740953002 BUG=582468 Committed: https://crrev.com/ebaca1a5f5909b5cacbb3ebebbacb1968486cd16 Cr-Commit-Position: refs/heads/master@{#379114}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -54 lines) Patch
M mojo/edk/system/channel.h View 5 chunks +44 lines, -12 lines 3 comments Download
M mojo/edk/system/channel.cc View 5 chunks +116 lines, -34 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: 12 (4 generated)
Anand Mistry (off Chromium)
4 years, 9 months ago (2016-03-03 02:29:27 UTC) #2
Ken Rockot(use gerrit already)
Thanks for doing this, one comment https://codereview.chromium.org/1759033002/diff/1/mojo/edk/system/channel.h File mojo/edk/system/channel.h (right): https://codereview.chromium.org/1759033002/diff/1/mojo/edk/system/channel.h#newcode48 mojo/edk/system/channel.h:48: #if defined(OS_CHROMEOS) I ...
4 years, 9 months ago (2016-03-03 02:34:45 UTC) #4
Anand Mistry (off Chromium)
https://codereview.chromium.org/1759033002/diff/1/mojo/edk/system/channel.h File mojo/edk/system/channel.h (right): https://codereview.chromium.org/1759033002/diff/1/mojo/edk/system/channel.h#newcode48 mojo/edk/system/channel.h:48: #if defined(OS_CHROMEOS) On 2016/03/03 02:34:45, Ken Rockot wrote: > ...
4 years, 9 months ago (2016-03-03 02:36:55 UTC) #5
elijahtaylor1
https://codereview.chromium.org/1759033002/diff/1/mojo/edk/system/channel.h File mojo/edk/system/channel.h (right): https://codereview.chromium.org/1759033002/diff/1/mojo/edk/system/channel.h#newcode48 mojo/edk/system/channel.h:48: #if defined(OS_CHROMEOS) On 2016/03/03 02:36:55, Anand Mistry wrote: > ...
4 years, 9 months ago (2016-03-03 18:33:46 UTC) #6
Ken Rockot(use gerrit already)
Thanks for the confirmation. In that case, LGTM
4 years, 9 months ago (2016-03-03 18:38:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1759033002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1759033002/1
4 years, 9 months ago (2016-03-03 22:05:57 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-03 22:25:36 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 22:27:47 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ebaca1a5f5909b5cacbb3ebebbacb1968486cd16
Cr-Commit-Position: refs/heads/master@{#379114}

Powered by Google App Engine
This is Rietveld 408576698