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

Side by Side Diff: remoting/host/user_authenticator_win.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, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/user_authenticator_pam.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/user_authenticator_fake.h" 5 #include "remoting/host/user_authenticator.h"
6
7 #include <string>
8
9 #include "base/basictypes.h"
10 #include "base/logging.h"
6 11
7 namespace remoting { 12 namespace remoting {
8 13
14 namespace {
15
16 class UserAuthenticatorWin : public UserAuthenticator {
17 public:
18 UserAuthenticatorWin() {}
19 virtual ~UserAuthenticatorWin() {}
20
21 virtual bool Authenticate(const std::string& username,
22 const std::string& password);
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(UserAuthenticatorWin);
26 };
27
28 bool UserAuthenticatorWin::Authenticate(const std::string& username,
29 const std::string& password) {
30 NOTIMPLEMENTED();
31 return true;
32 }
33
34 } // namespace
35
9 // static 36 // static
10 UserAuthenticator* UserAuthenticator::Create() { 37 UserAuthenticator* UserAuthenticator::Create() {
11 return new UserAuthenticatorFake(); 38 return new UserAuthenticatorWin();
12 } 39 }
13 40
14 } // namespace remoting 41 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/user_authenticator_pam.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698