| 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
|
|
|