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

Unified Diff: remoting/host/user_authenticator.h

Issue 6780014: Clean up remoting project (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a compile glitch on Windows 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
Index: remoting/host/user_authenticator.h
diff --git a/remoting/host/user_authenticator.h b/remoting/host/user_authenticator.h
index b6f6a7ff906f53079111acc85eec5f9c08e7da88..e4c2c6ffa4d9e86b9e6a1b679819a48930487e95 100644
--- a/remoting/host/user_authenticator.h
+++ b/remoting/host/user_authenticator.h
@@ -7,6 +7,8 @@
#include <string>
+#include "base/memory/ref_counted.h"
+
namespace remoting {
// Interface for authenticating users for access to remote desktop session.
@@ -17,7 +19,7 @@ namespace remoting {
// TODO(lambroslambrou): Decide whether this needs an asychronous interface
// (for example AuthenticateStart()..AuthenticateEndCallback()), or whether the
// multi-threading policy could be handled by the caller.
-class UserAuthenticator {
+class UserAuthenticator : public base::RefCountedThreadSafe<UserAuthenticator> {
public:
virtual ~UserAuthenticator() {}

Powered by Google App Engine
This is Rietveld 408576698