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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_CRYPTOHOME_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_CRYPTOHOME_AUTHENTICATOR_H_
10 #include "chromeos/login/auth/cryptohome_authenticator.h"
14 class ChromeCryptohomeAuthenticator
: public CryptohomeAuthenticator
{
16 explicit ChromeCryptohomeAuthenticator(AuthStatusConsumer
* consumer
);
19 ~ChromeCryptohomeAuthenticator() override
;
21 bool IsKnownUser(const UserContext
& context
) override
;
22 bool IsSafeMode() override
;
23 void CheckSafeModeOwnership(const UserContext
& context
,
24 const IsOwnerCallback
& callback
) override
;
27 DISALLOW_COPY_AND_ASSIGN(ChromeCryptohomeAuthenticator
);
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_CRYPTOHOME_AUTHENTICATOR_H_