| Index: chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.h
|
| diff --git a/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.h b/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d90126fd3136cf2772b817669d60f451a078599c
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_CRYPTOHOME_AUTHENTICATOR_H_
|
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_CRYPTOHOME_AUTHENTICATOR_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "chromeos/login/auth/cryptohome_authenticator.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +class ChromeCryptohomeAuthenticator : public CryptohomeAuthenticator {
|
| + public:
|
| + explicit ChromeCryptohomeAuthenticator(AuthStatusConsumer* consumer);
|
| +
|
| + protected:
|
| + virtual ~ChromeCryptohomeAuthenticator();
|
| +
|
| + virtual bool IsKnownUser(const UserContext& context) OVERRIDE;
|
| + virtual bool IsSafeMode() OVERRIDE;
|
| + virtual void CheckSafeModeOwnership(const UserContext& context,
|
| + const IsOwnerCallback& callback) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ChromeCryptohomeAuthenticator);
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_CRYPTOHOME_AUTHENTICATOR_H_
|
|
|