| Index: remoting/protocol/connection_to_client_unittest.cc
|
| diff --git a/remoting/protocol/connection_to_client_unittest.cc b/remoting/protocol/connection_to_client_unittest.cc
|
| index e199c120fd1eea046831003cbade4b52e1ccce77..eaea342cfa8acad0d5ecad6d169bd4fe0c186269 100644
|
| --- a/remoting/protocol/connection_to_client_unittest.cc
|
| +++ b/remoting/protocol/connection_to_client_unittest.cc
|
| @@ -27,7 +27,8 @@ class ConnectionToClientTest : public testing::Test {
|
| session_->set_message_loop(&message_loop_);
|
|
|
| // Allocate a ClientConnection object with the mock objects.
|
| - viewer_ = new ConnectionToClient(&message_loop_, &handler_);
|
| + viewer_ = new ConnectionToClient(&message_loop_, &handler_,
|
| + &host_stub_, &input_stub_);
|
| viewer_->Init(session_);
|
| EXPECT_CALL(handler_, OnConnectionOpened(viewer_.get()));
|
| session_->state_change_callback()->Run(
|
| @@ -37,6 +38,8 @@ class ConnectionToClientTest : public testing::Test {
|
|
|
| MessageLoop message_loop_;
|
| MockConnectionToClientEventHandler handler_;
|
| + MockHostStub host_stub_;
|
| + MockInputStub input_stub_;
|
| scoped_refptr<ConnectionToClient> viewer_;
|
|
|
| scoped_refptr<protocol::FakeSession> session_;
|
|
|