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

Unified Diff: remoting/host/user_authenticator_fake.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_fake.h ('k') | remoting/host/user_authenticator_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/host/user_authenticator_fake.h ('k') | remoting/host/user_authenticator_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698