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

Unified Diff: remoting/host/user_authenticator_fake.h

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.h ('k') | remoting/host/user_authenticator_fake.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/user_authenticator_fake.h
diff --git a/remoting/host/user_authenticator_fake.h b/remoting/host/user_authenticator_fake.h
deleted file mode 100644
index faf1171da0a43899107dc8d5c2c18ec76e79056b..0000000000000000000000000000000000000000
--- a/remoting/host/user_authenticator_fake.h
+++ /dev/null
@@ -1,34 +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.
-
-#ifndef REMOTING_HOST_USER_AUTHENTICATOR_FAKE_H_
-#define REMOTING_HOST_USER_AUTHENTICATOR_FAKE_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "remoting/host/user_authenticator.h"
-
-namespace remoting {
-
-// A fake UserAuthenticator, which accepts all but one user/password pair.
-class UserAuthenticatorFake : public UserAuthenticator {
- public:
- UserAuthenticatorFake();
- virtual ~UserAuthenticatorFake();
-
- 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);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_HOST_USER_AUTHENTICATOR_FAKE_H_
« no previous file with comments | « remoting/host/user_authenticator.h ('k') | remoting/host/user_authenticator_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698