| Index: remoting/protocol/protobuf_video_writer.cc
|
| diff --git a/remoting/protocol/protobuf_video_writer.cc b/remoting/protocol/protobuf_video_writer.cc
|
| index 10e1e53b5d3be8248c7309dea7557187becebc15..55c3a58fdf5402bbdfd8a38da398cff2399db1db 100644
|
| --- a/remoting/protocol/protobuf_video_writer.cc
|
| +++ b/remoting/protocol/protobuf_video_writer.cc
|
| @@ -34,6 +34,10 @@ void ProtobufVideoWriter::Init(protocol::Session* session,
|
| base::Bind(&ProtobufVideoWriter::OnChannelReady, base::Unretained(this)));
|
| }
|
|
|
| +bool ProtobufVideoWriter::is_connected() {
|
| + return channel_.get() != NULL;
|
| +}
|
| +
|
| void ProtobufVideoWriter::OnChannelReady(net::StreamSocket* socket) {
|
| if (!socket) {
|
| initialized_callback_.Run(false);
|
|
|