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

Unified Diff: remoting/host/user_authenticator_win.cc

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/user_authenticator_pam.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/user_authenticator_win.cc
diff --git a/remoting/host/user_authenticator_win.cc b/remoting/host/user_authenticator_win.cc
index 956484adfd1508013f77d7996112b165be7d8f3b..3efb357e378ac4dcb88b6446262152a11bdbb80b 100644
--- a/remoting/host/user_authenticator_win.cc
+++ b/remoting/host/user_authenticator_win.cc
@@ -2,13 +2,40 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/user_authenticator_fake.h"
+#include "remoting/host/user_authenticator.h"
+
+#include <string>
+
+#include "base/basictypes.h"
+#include "base/logging.h"
namespace remoting {
+namespace {
+
+class UserAuthenticatorWin : public UserAuthenticator {
+ public:
+ UserAuthenticatorWin() {}
+ virtual ~UserAuthenticatorWin() {}
+
+ virtual bool Authenticate(const std::string& username,
+ const std::string& password);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(UserAuthenticatorWin);
+};
+
+bool UserAuthenticatorWin::Authenticate(const std::string& username,
+ const std::string& password) {
+ NOTIMPLEMENTED();
+ return true;
+}
+
+} // namespace
+
// static
UserAuthenticator* UserAuthenticator::Create() {
- return new UserAuthenticatorFake();
+ return new UserAuthenticatorWin();
}
} // namespace remoting
« no previous file with comments | « remoting/host/user_authenticator_pam.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698