| Index: remoting/protocol/connection_to_host.cc
|
| diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
|
| index 1ab6bd18d899f673643e1887e32573074c732379..f2d9297129bd19d41cd70fa64cbf334a68d5caee 100644
|
| --- a/remoting/protocol/connection_to_host.cc
|
| +++ b/remoting/protocol/connection_to_host.cc
|
| @@ -16,8 +16,8 @@
|
| #include "remoting/protocol/client_control_dispatcher.h"
|
| #include "remoting/protocol/client_event_dispatcher.h"
|
| #include "remoting/protocol/client_stub.h"
|
| -#include "remoting/protocol/jingle_session_manager.h"
|
| #include "remoting/protocol/pepper_session_manager.h"
|
| +#include "remoting/protocol/pepper_transport_factory.h"
|
| #include "remoting/protocol/video_reader.h"
|
| #include "remoting/protocol/video_stub.h"
|
| #include "remoting/protocol/util.h"
|
| @@ -78,7 +78,9 @@ void ConnectionToHost::Connect(scoped_refptr<XmppProxy> xmpp_proxy,
|
| signal_strategy_->AddListener(this);
|
| signal_strategy_->Connect();
|
|
|
| - session_manager_.reset(new PepperSessionManager(pp_instance_));
|
| + scoped_ptr<TransportFactory> transport_factory(
|
| + new PepperTransportFactory(pp_instance_));
|
| + session_manager_.reset(new PepperSessionManager(transport_factory.Pass()));
|
| session_manager_->Init(signal_strategy_.get(), this,
|
| NetworkSettings(allow_nat_traversal_));
|
| }
|
|
|