| Index: remoting/host/user_authenticator_fake.cc
|
| diff --git a/remoting/host/user_authenticator_fake.cc b/remoting/host/user_authenticator_fake.cc
|
| deleted file mode 100644
|
| index 61b19f7302860f35dd9f54f322f7051b3f50c826..0000000000000000000000000000000000000000
|
| --- a/remoting/host/user_authenticator_fake.cc
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| -// 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 <string>
|
| -
|
| -namespace remoting {
|
| -
|
| -UserAuthenticatorFake::UserAuthenticatorFake() {}
|
| -UserAuthenticatorFake::~UserAuthenticatorFake() {}
|
| -
|
| -bool UserAuthenticatorFake::Authenticate(const std::string& username,
|
| - const std::string& password) {
|
| - return (username.compare(fail_username()) ||
|
| - password.compare(fail_password()));
|
| -}
|
| -
|
| -const char* UserAuthenticatorFake::fail_username() {
|
| - return "userfail";
|
| -}
|
| -
|
| -const char* UserAuthenticatorFake::fail_password() {
|
| - return "passwordfail";
|
| -}
|
| -
|
| -} // namespace remoting
|
|
|