DescriptionMojo: Add Channel::AttachEndpoint(), which takes a ChannelEndpoint.
This will replace AttachMessagePipeEndpoint(), once I get rid of all the
calls to it. (This change is required to move the "paused message queue"
from the ProxyMessagePipeEndpoint to the ChannelEndpoint.)
Also factor out the message writing (WriteMessageNoLock()) from the
message enqueueing (EnqueueMessage()) in ChannelEndpoint. After I move
the paused message queue to ChannelEndpoint, the latter will put stuff
into said queue if it can't write.
R=darin@chromium.org
Committed: https://crrev.com/1a1d35bb2c9ec230d6a81999dbf555df290b2466
Cr-Commit-Position: refs/heads/master@{#295729}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|