| Index: remoting/protocol/connection_to_host.cc
|
| diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
|
| index 5794c50216f15daff92d3da49b1890f40c3e2612..144c1fc93ead6c42b06815d36579d8c7c25a084d 100644
|
| --- a/remoting/protocol/connection_to_host.cc
|
| +++ b/remoting/protocol/connection_to_host.cc
|
| @@ -209,6 +209,17 @@ void ConnectionToHost::OnSessionRouteChange(const std::string& channel_name,
|
| const TransportRoute& route) {
|
| }
|
|
|
| +void ConnectionToHost::OnSessionChannelReady(const std::string& channel_name,
|
| + bool ready) {
|
| + if (ready) {
|
| + not_ready_channels_.erase(channel_name);
|
| + } else if (!ready) {
|
| + not_ready_channels_.insert(channel_name);
|
| + }
|
| +
|
| + event_callback_->OnConnectionReady(ready);
|
| +}
|
| +
|
| ConnectionToHost::State ConnectionToHost::state() const {
|
| return state_;
|
| }
|
|
|