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

Issue 2710193003: Adding a new message type to the Mojo channel. (Closed)

Created:
3 years, 10 months ago by Jay Civelli
Modified:
3 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding a new message type to the Mojo channel. Adding a new Channel::Message type and changing Channel so it supports the old and the new messages. This will help when modules using different version of Mojo communicate. BUG=695510 Review-Url: https://codereview.chromium.org/2710193003 Cr-Commit-Position: refs/heads/master@{#453814} Committed: https://chromium.googlesource.com/chromium/src/+/823ec06c330538e88cf641061ea42cd607254e57

Patch Set 1 #

Patch Set 2 : Adding versioned messages to the Mojo channel. #

Patch Set 3 : Clean-up. #

Patch Set 4 : Fix Mac build. #

Total comments: 16

Patch Set 5 : Fix bots. #

Patch Set 6 : Addressed comments #

Patch Set 7 : Fixed Mac bots #

Patch Set 8 : Synced #

Patch Set 9 : Changed comment #

Patch Set 10 : Removed versioning from Header. #

Total comments: 11

Patch Set 11 : Addresed latest comments #

Total comments: 2

Patch Set 12 : Addressed more comments. #

Patch Set 13 : Fixed Mac tests + sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+457 lines, -172 lines) Patch
M mojo/edk/system/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/edk/system/broker_messages.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/edk/system/channel.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +55 lines, -45 lines 0 comments Download
M mojo/edk/system/channel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 chunks +215 lines, -119 lines 0 comments Download
M mojo/edk/system/channel_posix.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
A mojo/edk/system/channel_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +177 lines, -0 lines 0 comments Download
M mojo/edk/system/node_channel.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 50 (37 generated)
Jay Civelli
3 years, 10 months ago (2017-02-23 17:15:09 UTC) #3
Ken Rockot(use gerrit already)
Looks decent overall but it has one fundamental flaw in that it assumes in some ...
3 years, 10 months ago (2017-02-23 22:07:05 UTC) #14
Jay Civelli
https://codereview.chromium.org/2710193003/diff/60001/mojo/edk/system/channel.cc File mojo/edk/system/channel.cc (right): https://codereview.chromium.org/2710193003/diff/60001/mojo/edk/system/channel.cc#newcode31 mojo/edk/system/channel.cc:31: const uint16_t kMessageCurrentVersion = 1; On 2017/02/23 22:07:04, Ken ...
3 years, 9 months ago (2017-02-27 17:07:04 UTC) #25
Jay Civelli
3 years, 9 months ago (2017-02-27 21:25:49 UTC) #32
Ken Rockot(use gerrit already)
looks good, a few comments https://codereview.chromium.org/2710193003/diff/180001/mojo/edk/system/channel.cc File mojo/edk/system/channel.cc (right): https://codereview.chromium.org/2710193003/diff/180001/mojo/edk/system/channel.cc#newcode82 mojo/edk/system/channel.cc:82: size_t header_size; Let's maybe ...
3 years, 9 months ago (2017-02-28 16:58:33 UTC) #33
Jay Civelli
https://codereview.chromium.org/2710193003/diff/180001/mojo/edk/system/channel.cc File mojo/edk/system/channel.cc (right): https://codereview.chromium.org/2710193003/diff/180001/mojo/edk/system/channel.cc#newcode82 mojo/edk/system/channel.cc:82: size_t header_size; On 2017/02/28 16:58:32, Ken Rockot wrote: > ...
3 years, 9 months ago (2017-02-28 17:13:05 UTC) #34
Ken Rockot(use gerrit already)
LGTM - Please update the title of the CL too, and you'll need a security ...
3 years, 9 months ago (2017-02-28 18:35:50 UTC) #35
Jay Civelli
Adding tsepez@ for security review.
3 years, 9 months ago (2017-02-28 18:57:18 UTC) #37
Tom Sepez
https://codereview.chromium.org/2710193003/diff/200001/mojo/edk/system/channel.h File mojo/edk/system/channel.h (right): https://codereview.chromium.org/2710193003/diff/200001/mojo/edk/system/channel.h#newcode68 mojo/edk/system/channel.h:68: // message_type field must be at the same offset ...
3 years, 9 months ago (2017-02-28 19:15:49 UTC) #38
Jay Civelli
https://codereview.chromium.org/2710193003/diff/200001/mojo/edk/system/channel.h File mojo/edk/system/channel.h (right): https://codereview.chromium.org/2710193003/diff/200001/mojo/edk/system/channel.h#newcode68 mojo/edk/system/channel.h:68: // message_type field must be at the same offset ...
3 years, 9 months ago (2017-02-28 21:22:13 UTC) #39
Tom Sepez
lgtm
3 years, 9 months ago (2017-03-01 00:34:09 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2710193003/240001
3 years, 9 months ago (2017-03-01 00:59:24 UTC) #47
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 03:14:34 UTC) #50
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/823ec06c330538e88cf641061ea4...

Powered by Google App Engine
This is Rietveld 408576698