| Index: remoting/protocol/fake_session.h
|
| diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h
|
| index fb8f0311477ab5bcf1747ac5c5c00fb3affac79a..6ff4556c7b2869eaa46b61cab4a3b5d06a361a1e 100644
|
| --- a/remoting/protocol/fake_session.h
|
| +++ b/remoting/protocol/fake_session.h
|
| @@ -40,6 +40,7 @@ class FakeSocket : public net::StreamSocket {
|
|
|
| const std::string& written_data() const { return written_data_; }
|
|
|
| + void set_next_read_error(int error) { next_read_error_ = error; }
|
| void AppendInputData(const std::vector<char>& data);
|
| void PairWith(FakeSocket* peer_socket);
|
| int input_pos() const { return input_pos_; }
|
| @@ -71,6 +72,7 @@ class FakeSocket : public net::StreamSocket {
|
| virtual net::NextProto GetNegotiatedProtocol() const OVERRIDE;
|
|
|
| private:
|
| + int next_read_error_;
|
| bool read_pending_;
|
| scoped_refptr<net::IOBuffer> read_buffer_;
|
| int read_buffer_size_;
|
|
|