summaryrefslogtreecommitdiffstats
path: root/remoting/client/chromoting_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/chromoting_client.h')
-rw-r--r--remoting/client/chromoting_client.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
index 48cd5f9..6563720 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -16,6 +16,7 @@
#include "remoting/protocol/clipboard_stub.h"
#include "remoting/protocol/connection_to_host.h"
#include "remoting/protocol/input_stub.h"
+#include "remoting/protocol/negotiating_client_authenticator.h"
#include "remoting/protocol/performance_tracker.h"
#include "remoting/protocol/session_config.h"
#include "remoting/protocol/video_stub.h"
@@ -63,7 +64,7 @@ class ChromotingClient : public SignalStrategy::Listener,
// Start the client. Must be called on the main thread. |signal_strategy|
// must outlive the client.
void Start(SignalStrategy* signal_strategy,
- scoped_ptr<protocol::Authenticator> authenticator,
+ const protocol::ClientAuthenticationConfig& client_auth_config,
scoped_refptr<protocol::TransportContext> transport_context,
const std::string& host_jid,
const std::string& capabilities);
@@ -121,7 +122,7 @@ class ChromotingClient : public SignalStrategy::Listener,
SignalStrategy* signal_strategy_ = nullptr;
std::string host_jid_;
- scoped_ptr<protocol::Authenticator> authenticator_;
+ protocol::ClientAuthenticationConfig client_auth_config_;
scoped_refptr<protocol::TransportContext> transport_context_;
scoped_ptr<protocol::SessionManager> session_manager_;