Chromium Code Reviews| 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..03815be13da7e4f22a115a82efc8825ba4db1f96 |
| --- /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_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.
|
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_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_PARALLEL_AUTHENTICATOR_H_ |