Description[Chromoting] Remove DataChannelManagerCallbacks constructor parameter of ClientSession
This change removes the constructor parameter of ClientSession, which is used to
initialize DataChannelManager. Instead, a public function
ClientSession::RegisterDataChannelManagerCallback() has been added to achieve
the goal.
The motion of this change is to avoid the base::Bind() to be kept in a secondary
place in ChromotingHost other than ClientSession. And I think it's also
reasonable to public the Register callback function from ClientSession. So we
do not need to write all registering logic in ClientSession.
BUG=650926
Review-Url: https://codereview.chromium.org/2967793002
Cr-Commit-Position: refs/heads/master@{#485482}
Committed: https://chromium.googlesource.com/chromium/src/+/b7da624213cfea4969a6b9385e9268e13d1d7843
Patch Set 1 #
Total comments: 4
Patch Set 2 : Resolve review comments #
Total comments: 2
Patch Set 3 : Resolve review comments #
Messages
Total messages: 34 (25 generated)
|