Index: remoting/host/client_session.h |
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
index e5ef81aecd59e13d01d12d1f3bded6fa24fa9e0a..131cc70737e203fbe0b7a0e0d0254b16ce1ab689 100644 |
--- a/remoting/host/client_session.h |
+++ b/remoting/host/client_session.h |
@@ -34,10 +34,8 @@ class ClientSession : public protocol::HostStub, |
scoped_refptr<protocol::ConnectionToClient> client) = 0; |
}; |
- typedef UserAuthenticator* UserAuthenticatorFactory(); |
- |
ClientSession(EventHandler* event_handler, |
- const base::Callback<UserAuthenticatorFactory>& auth_factory, |
+ UserAuthenticator* user_authenticator, |
scoped_refptr<protocol::ConnectionToClient> connection, |
protocol::InputStub* input_stub); |
@@ -69,7 +67,7 @@ class ClientSession : public protocol::HostStub, |
EventHandler* event_handler_; |
// A factory for user authenticators. |
- base::Callback<UserAuthenticatorFactory> auth_factory_; |
+ scoped_ptr<UserAuthenticator> user_authenticator_; |
// The connection to the client. |
scoped_refptr<protocol::ConnectionToClient> connection_; |