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

Side by Side Diff: chrome/browser/chromeos/login/managed/managed_user_authenticator.h

Issue 14179007: Move cryptohome_library to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_MANAGED_USER_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_MANAGED_USER_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_MANAGED_USER_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_MANAGED_USER_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/browser/chromeos/cros/cryptohome_library.h"
15 #include "third_party/cros_system_api/dbus/service_constants.h" 14 #include "third_party/cros_system_api/dbus/service_constants.h"
16 15
17 namespace chromeos { 16 namespace chromeos {
18 17
19 // Authenticates locally managed users against the cryptohome. 18 // Authenticates locally managed users against the cryptohome.
20 // 19 //
21 // Typical flow: 20 // Typical flow:
22 // AuthenticateToMount() calls a Cryptohome to perform offline login, 21 // AuthenticateToMount() calls a Cryptohome to perform offline login,
23 // AuthenticateToCreate() calls a Cryptohome to create new cryptohome. 22 // AuthenticateToCreate() calls a Cryptohome to create new cryptohome.
24 class ManagedUserAuthenticator 23 class ManagedUserAuthenticator
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 102
104 scoped_ptr<AuthAttempt> current_state_; 103 scoped_ptr<AuthAttempt> current_state_;
105 StatusConsumer* consumer_; 104 StatusConsumer* consumer_;
106 105
107 DISALLOW_COPY_AND_ASSIGN(ManagedUserAuthenticator); 106 DISALLOW_COPY_AND_ASSIGN(ManagedUserAuthenticator);
108 }; 107 };
109 108
110 } // namespace chromeos 109 } // namespace chromeos
111 110
112 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_MANAGED_USER_AUTHENTICATOR_H_ 111 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_MANAGED_USER_AUTHENTICATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698