| Index: remoting/protocol/protobuf_video_reader.cc
|
| diff --git a/remoting/protocol/protobuf_video_reader.cc b/remoting/protocol/protobuf_video_reader.cc
|
| index 0bcc9fe9b354129c2351177a0a635c12c8e17201..07f6035638dd79870864095014ab35a235b20f5d 100644
|
| --- a/remoting/protocol/protobuf_video_reader.cc
|
| +++ b/remoting/protocol/protobuf_video_reader.cc
|
| @@ -37,6 +37,10 @@ void ProtobufVideoReader::Init(protocol::Session* session,
|
| base::Bind(&ProtobufVideoReader::OnChannelReady, base::Unretained(this)));
|
| }
|
|
|
| +bool ProtobufVideoReader::is_connected() {
|
| + return channel_.get() != NULL;
|
| +}
|
| +
|
| void ProtobufVideoReader::OnChannelReady(net::StreamSocket* socket) {
|
| if (!socket) {
|
| initialized_callback_.Run(false);
|
|
|