| Index: remoting/protocol/fake_session.h
|
| diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h
|
| index 62818e40cdb8d79fab5c32a05a12fd280211c8a5..062d5dda2cb579560f935624352efc7a70466239 100644
|
| --- a/remoting/protocol/fake_session.h
|
| +++ b/remoting/protocol/fake_session.h
|
| @@ -29,8 +29,9 @@ class FakeSocket : public net::Socket {
|
|
|
| const std::string& written_data() { return written_data_; }
|
|
|
| - void AppendInputData(char* data, int data_size);
|
| + void AppendInputData(const char* data, int data_size);
|
| int input_pos() { return input_pos_; }
|
| + bool read_pending() { return read_pending_; }
|
|
|
| // net::Socket interface.
|
| virtual int Read(net::IOBuffer* buf, int buf_len,
|
| @@ -64,7 +65,7 @@ class FakeUdpSocket : public net::Socket {
|
| return written_packets_;
|
| }
|
|
|
| - void AppendInputPacket(char* data, int data_size);
|
| + void AppendInputPacket(const char* data, int data_size);
|
| int input_pos() { return input_pos_; }
|
|
|
| // net::Socket interface.
|
|
|