| Index: chromeos/login/auth/fake_extended_authenticator.h
|
| diff --git a/chromeos/login/auth/fake_extended_authenticator.h b/chromeos/login/auth/fake_extended_authenticator.h
|
| index 54b0319f4bf7af1be2eb7a161251dd2aa493576e..96dc4f497c36b4bb94d773aa5b967ea80bb57880 100644
|
| --- a/chromeos/login/auth/fake_extended_authenticator.h
|
| +++ b/chromeos/login/auth/fake_extended_authenticator.h
|
| @@ -22,32 +22,30 @@ class CHROMEOS_EXPORT FakeExtendedAuthenticator : public ExtendedAuthenticator {
|
| const UserContext& expected_user_context);
|
|
|
| // ExtendedAuthenticator:
|
| - virtual void SetConsumer(AuthStatusConsumer* consumer) override;
|
| - virtual void AuthenticateToMount(
|
| - const UserContext& context,
|
| - const ResultCallback& success_callback) override;
|
| - virtual void AuthenticateToCheck(
|
| - const UserContext& context,
|
| - const base::Closure& success_callback) override;
|
| - virtual void CreateMount(const std::string& user_id,
|
| - const std::vector<cryptohome::KeyDefinition>& keys,
|
| + void SetConsumer(AuthStatusConsumer* consumer) override;
|
| + void AuthenticateToMount(const UserContext& context,
|
| const ResultCallback& success_callback) override;
|
| - virtual void AddKey(const UserContext& context,
|
| - const cryptohome::KeyDefinition& key,
|
| - bool replace_existing,
|
| - const base::Closure& success_callback) override;
|
| - virtual void UpdateKeyAuthorized(
|
| - const UserContext& context,
|
| - const cryptohome::KeyDefinition& key,
|
| - const std::string& signature,
|
| - const base::Closure& success_callback) override;
|
| - virtual void RemoveKey(const UserContext& context,
|
| - const std::string& key_to_remove,
|
| - const base::Closure& success_callback) override;
|
| - virtual void TransformKeyIfNeeded(const UserContext& user_context,
|
| - const ContextCallback& callback) override;
|
| + void AuthenticateToCheck(const UserContext& context,
|
| + const base::Closure& success_callback) override;
|
| + void CreateMount(const std::string& user_id,
|
| + const std::vector<cryptohome::KeyDefinition>& keys,
|
| + const ResultCallback& success_callback) override;
|
| + void AddKey(const UserContext& context,
|
| + const cryptohome::KeyDefinition& key,
|
| + bool replace_existing,
|
| + const base::Closure& success_callback) override;
|
| + void UpdateKeyAuthorized(const UserContext& context,
|
| + const cryptohome::KeyDefinition& key,
|
| + const std::string& signature,
|
| + const base::Closure& success_callback) override;
|
| + void RemoveKey(const UserContext& context,
|
| + const std::string& key_to_remove,
|
| + const base::Closure& success_callback) override;
|
| + void TransformKeyIfNeeded(const UserContext& user_context,
|
| + const ContextCallback& callback) override;
|
| +
|
| private:
|
| - virtual ~FakeExtendedAuthenticator();
|
| + ~FakeExtendedAuthenticator() override;
|
|
|
| void OnAuthSuccess(const UserContext& context);
|
| void OnAuthFailure(AuthState state, const AuthFailure& error);
|
|
|