summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/connection_to_client_unittest.cc
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 14:20:06 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 14:20:06 +0000
commit4ea2c7cfa0f6a2177dedcf69b117408a868a4eb8 (patch)
treef3423e34f77859d918ed5af5b4345a7dd646f4c0 /remoting/protocol/connection_to_client_unittest.cc
parent22efa086fc27f192a1805d4bd62c576fe23580a4 (diff)
downloadchromium_src-4ea2c7cfa0f6a2177dedcf69b117408a868a4eb8.zip
chromium_src-4ea2c7cfa0f6a2177dedcf69b117408a868a4eb8.tar.gz
chromium_src-4ea2c7cfa0f6a2177dedcf69b117408a868a4eb8.tar.bz2
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
Diffstat (limited to 'remoting/protocol/connection_to_client_unittest.cc')
-rw-r--r--remoting/protocol/connection_to_client_unittest.cc3
1 files changed, 2 insertions, 1 deletions
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(