From 4ea2c7cfa0f6a2177dedcf69b117408a868a4eb8 Mon Sep 17 00:00:00 2001 From: "simonmorris@chromium.org" Date: Thu, 31 Mar 2011 14:20:06 +0000 Subject: The authenticated_ fields are moved out of stubs and into ClientSession. Messages to the stubs are dispatched via ClientSession, and the stub classes are pure virtual. BUG=none TEST=none Review URL: http://codereview.chromium.org/6724033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79991 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/protocol/connection_to_client_unittest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '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 7a21096..bb73a8f 100644 --- a/remoting/protocol/connection_to_client_unittest.cc +++ b/remoting/protocol/connection_to_client_unittest.cc @@ -27,8 +27,9 @@ 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_, &input_stub_); + viewer_ = new ConnectionToClient(&message_loop_, &handler_); viewer_->set_host_stub(&host_stub_); + viewer_->set_input_stub(&input_stub_); viewer_->Init(session_); EXPECT_CALL(handler_, OnConnectionOpened(viewer_.get())); session_->state_change_callback()->Run( -- cgit v1.1