| Index: remoting/protocol/fake_session.cc
|
| diff --git a/remoting/protocol/fake_session.cc b/remoting/protocol/fake_session.cc
|
| index 2445d0cc57a6e22c5192f7668e1601ddc4d3d1b1..a6ed4fdf556b7277c6a064092d82db3824eb2585 100644
|
| --- a/remoting/protocol/fake_session.cc
|
| +++ b/remoting/protocol/fake_session.cc
|
| @@ -205,7 +205,9 @@ FakeSession::FakeSession()
|
| : candidate_config_(CandidateSessionConfig::CreateDefault()),
|
| config_(SessionConfig::GetDefault()),
|
| message_loop_(NULL),
|
| - jid_(kTestJid) {
|
| + jid_(kTestJid),
|
| + error_(OK),
|
| + closed_(false) {
|
| }
|
|
|
| FakeSession::~FakeSession() { }
|
| @@ -222,6 +224,10 @@ void FakeSession::SetStateChangeCallback(StateChangeCallback* callback) {
|
| callback_.reset(callback);
|
| }
|
|
|
| +Session::Error FakeSession::error() {
|
| + return error_;
|
| +}
|
| +
|
| void FakeSession::CreateStreamChannel(
|
| const std::string& name, const StreamChannelCallback& callback) {
|
| FakeSocket* channel = new FakeSocket();
|
|
|