| Index: remoting/client/chromoting_client.cc
|
| diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
|
| index 723af04c41cfdb3e463bab22ed015b70dd02607c..4dabdd2cf30fd663e12e7901b9a1c04a7d1365f3 100644
|
| --- a/remoting/client/chromoting_client.cc
|
| +++ b/remoting/client/chromoting_client.cc
|
| @@ -13,6 +13,7 @@
|
| #include "remoting/protocol/negotiating_authenticator.h"
|
| #include "remoting/protocol/v1_authenticator.h"
|
| #include "remoting/protocol/session_config.h"
|
| +#include "remoting/protocol/transport.h"
|
|
|
| namespace remoting {
|
|
|
| @@ -46,7 +47,9 @@ ChromotingClient::ChromotingClient(const ClientConfig& config,
|
| ChromotingClient::~ChromotingClient() {
|
| }
|
|
|
| -void ChromotingClient::Start(scoped_refptr<XmppProxy> xmpp_proxy) {
|
| +void ChromotingClient::Start(
|
| + scoped_refptr<XmppProxy> xmpp_proxy,
|
| + scoped_ptr<protocol::TransportFactory> transport_factory) {
|
| DCHECK(message_loop()->BelongsToCurrentThread());
|
|
|
| scoped_ptr<protocol::Authenticator> authenticator;
|
| @@ -60,8 +63,8 @@ void ChromotingClient::Start(scoped_refptr<XmppProxy> xmpp_proxy) {
|
| }
|
|
|
| connection_->Connect(xmpp_proxy, config_.local_jid, config_.host_jid,
|
| - config_.host_public_key, authenticator.Pass(),
|
| - this, this, this, this);
|
| + config_.host_public_key, transport_factory.Pass(),
|
| + authenticator.Pass(), this, this, this, this);
|
|
|
| if (!view_->Initialize()) {
|
| ClientDone();
|
|
|