| Index: remoting/host/chromoting_host_unittest.cc
|
| diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
|
| index 7ce925bfad5838a0b2c4a12da470185b0cd8896b..3e1e5ca4fe8aa194862e64ec2558d777137f4123 100644
|
| --- a/remoting/host/chromoting_host_unittest.cc
|
| +++ b/remoting/host/chromoting_host_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "base/bind.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop_proxy.h"
|
| +#include "remoting/jingle_glue/mock_objects.h"
|
| #include "remoting/host/capturer_fake.h"
|
| #include "remoting/host/chromoting_host.h"
|
| #include "remoting/host/chromoting_host_context.h"
|
| @@ -92,8 +93,9 @@ class ChromotingHostTest : public testing::Test {
|
| desktop_environment_.reset(
|
| new DesktopEnvironment(&context_, capturer, event_executor_));
|
|
|
| - host_ = ChromotingHost::Create(
|
| - &context_, config_,desktop_environment_.get(), false);
|
| + host_ = new ChromotingHost(
|
| + &context_, config_, &signal_strategy_,
|
| + desktop_environment_.get(), false);
|
|
|
| disconnect_window_ = new MockDisconnectWindow();
|
| continue_window_ = new MockContinueWindow();
|
| @@ -218,6 +220,7 @@ class ChromotingHostTest : public testing::Test {
|
| MessageLoop message_loop_;
|
| scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
|
| MockConnectionToClientEventHandler handler_;
|
| + MockSignalStrategy signal_strategy_;
|
| scoped_ptr<DesktopEnvironment> desktop_environment_;
|
| scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_;
|
| scoped_refptr<ChromotingHost> host_;
|
|
|