OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ | |
Nikita (slow)
2014/08/21 10:55:24
nit: Update guard
Denis Kuznetsov (DE-MUC)
2014/08/21 11:22:03
Done.
| |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "chromeos/login/auth/cryptohome_authenticator.h" | |
11 | |
12 namespace chromeos { | |
13 | |
14 class ChromeCryptohomeAuthenticator : public CryptohomeAuthenticator { | |
15 public: | |
16 explicit ChromeCryptohomeAuthenticator(AuthStatusConsumer* consumer); | |
17 | |
18 protected: | |
19 virtual ~ChromeCryptohomeAuthenticator(); | |
20 | |
21 virtual bool IsKnownUser(const UserContext& context) OVERRIDE; | |
22 virtual bool IsSafeMode() OVERRIDE; | |
23 virtual void CheckSafeModeOwnership(const UserContext& context, | |
24 const IsOwnerCallback& callback) OVERRIDE; | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(ChromeCryptohomeAuthenticator); | |
28 }; | |
29 | |
30 } // namespace chromeos | |
31 | |
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_ | |
OLD | NEW |