| Index: remoting/host/user_authenticator_fake.h
|
| diff --git a/remoting/host/user_authenticator_fake.h b/remoting/host/user_authenticator_fake.h
|
| index f35193114bef27b65ea533b0b5f966c88297d535..faf1171da0a43899107dc8d5c2c18ec76e79056b 100644
|
| --- a/remoting/host/user_authenticator_fake.h
|
| +++ b/remoting/host/user_authenticator_fake.h
|
| @@ -12,10 +12,7 @@
|
|
|
| namespace remoting {
|
|
|
| -// Temporary stub for platforms where this hasn't been implemented yet.
|
| -
|
| -// TODO(lambroslambrou): Implement properly on those platforms, then
|
| -// delete this stub when it's no longer needed.
|
| +// A fake UserAuthenticator, which accepts all but one user/password pair.
|
| class UserAuthenticatorFake : public UserAuthenticator {
|
| public:
|
| UserAuthenticatorFake();
|
| @@ -24,6 +21,10 @@ class UserAuthenticatorFake : public UserAuthenticator {
|
| virtual bool Authenticate(const std::string& username,
|
| const std::string& password);
|
|
|
| + // Get the user/password pair that a UserAuthenticatorFake rejects.
|
| + static const char* fail_username();
|
| + static const char* fail_password();
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(UserAuthenticatorFake);
|
| };
|
|
|