Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Unified Diff: remoting/host/client_session.h

Issue 6780014: Clean up remoting project (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: got rid of ref counting on user authenticator Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698