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

Issue 741983003: Make ChannelEndpoint::OnReadMessage() take a MessageInTransit instead of a MessageInTransit::View. (Closed)

Created:
6 years, 1 month ago by viettrungluu
Modified:
6 years ago
Reviewers:
yzshen1
CC:
mojo-reviews_chromium.org, 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://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Make ChannelEndpoint::OnReadMessage() take a MessageInTransit instead of a MessageInTransit::View. It's a bit cleaner, and equally significantly this means that TransportData::DeserializeDispatchers() no longer gets called under ChannelEndpoint's lock, which is a bit bad since it may call into Channel which may theoretically (but not likely) in turn call into ChannelEndpoint. Admittedly, this could be accomplished without moving the MessageInTransit::View -> MessageInTransit conversion into Channel. R=yzshen@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/81b582f392619f376c2a397fccf69e0e2a281008

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -19 lines) Patch
M mojo/edk/system/channel.cc View 2 chunks +10 lines, -2 lines 0 comments Download
M mojo/edk/system/channel_endpoint.h View 2 chunks +1 line, -4 lines 0 comments Download
M mojo/edk/system/channel_endpoint.cc View 3 chunks +1 line, -13 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
viettrungluu
6 years, 1 month ago (2014-11-20 23:41:13 UTC) #1
viettrungluu
ping (even I forgot about this)
6 years ago (2014-11-26 01:14:37 UTC) #2
yzshen1
lgtm
6 years ago (2014-11-26 02:22:17 UTC) #3
viettrungluu
6 years ago (2014-11-26 03:45:04 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
81b582f392619f376c2a397fccf69e0e2a281008 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698