| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SUPERVISED_SUPERVISED_USER_AUTHENTICATOR_H
_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_AUTHENTICATOR_H
_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_AUTHENTICATOR_H
_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_AUTHENTICATOR_H
_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.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 "third_party/cros_system_api/dbus/service_constants.h" | 14 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 // Authenticates supervised users against the cryptohome. | 18 // Authenticates supervised users against the cryptohome. |
| 19 // | 19 // |
| 20 // Typical flow: | 20 // Typical flow: |
| 21 // AuthenticateToMount() calls a Cryptohome to perform offline login, | 21 // AuthenticateToMount() calls a Cryptohome to perform offline login, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 scoped_ptr<AuthAttempt> current_state_; | 107 scoped_ptr<AuthAttempt> current_state_; |
| 108 AuthStatusConsumer* consumer_; | 108 AuthStatusConsumer* consumer_; |
| 109 | 109 |
| 110 DISALLOW_COPY_AND_ASSIGN(SupervisedUserAuthenticator); | 110 DISALLOW_COPY_AND_ASSIGN(SupervisedUserAuthenticator); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace chromeos | 113 } // namespace chromeos |
| 114 | 114 |
| 115 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_AUTHENTICATO
R_H_ | 115 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_AUTHENTICATO
R_H_ |
| OLD | NEW |