Index: remoting/host/client_session.h |
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
index 76e0cbe4436a637aa11af142b4e2bc035e59856d..ef75b250c32d553947101241a1a84ae53bae9cfc 100644 |
--- a/remoting/host/client_session.h |
+++ b/remoting/host/client_session.h |
@@ -14,6 +14,7 @@ |
#include "base/time/time.h" |
#include "base/timer/timer.h" |
#include "remoting/host/client_session_control.h" |
+#include "remoting/host/gnubby_auth_handler.h" |
#include "remoting/host/mouse_clamping_filter.h" |
#include "remoting/host/remote_input_filter.h" |
#include "remoting/protocol/clipboard_echo_filter.h" |
@@ -134,6 +135,8 @@ class ClientSession |
const webrtc::DesktopVector& position) OVERRIDE; |
virtual void SetDisableInputs(bool disable_inputs) OVERRIDE; |
+ void SetGnubbyAuthHandlerForTesting(GnubbyAuthHandler* gnubby_auth_handler); |
+ |
protocol::ConnectionToClient* connection() const { |
return connection_.get(); |
} |
@@ -233,6 +236,9 @@ class ClientSession |
// The pairing registry for PIN-less authentication. |
scoped_refptr<protocol::PairingRegistry> pairing_registry_; |
+ // Used to proxy gnubby auth traffic. |
+ scoped_ptr<GnubbyAuthHandler> gnubby_auth_handler_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ClientSession); |
}; |