Description[cast_channel] Make CastMessageHandler a CastSocket::Observer instead of CastTransport::Delegate
We are going to create one CastSocket for one IP endpoint and share it between browser and different extensions. To handle message and errors, it seems more reasonable to have one CastTransport::Delegate and multiple observers per CastSocket.
BUG=687377
Review-Url: https://codereview.chromium.org/2942993003
Cr-Commit-Position: refs/heads/master@{#481334}
Committed: https://chromium.googlesource.com/chromium/src/+/487f46f96fbed1f58c8dc3fb2d940dd5f36ca7b3
Patch Set 1 #
Total comments: 10
Patch Set 2 : resolve code review comments from Derek and Mark #
Total comments: 12
Patch Set 3 : resolve code review comments from Mark #
Total comments: 6
Patch Set 4 : resolve code review comments from Derek #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 27 (16 generated)
|