| Index: components/proximity_auth/proximity_auth_client.h
|
| diff --git a/components/proximity_auth/proximity_auth_client.h b/components/proximity_auth/proximity_auth_client.h
|
| index 7a26778728e6f3b75dfd52c6a122472f8cc64e98..1420479a563fbd9df5d6dbceb126a8c0f1924ca4 100644
|
| --- a/components/proximity_auth/proximity_auth_client.h
|
| +++ b/components/proximity_auth/proximity_auth_client.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #include <string>
|
|
|
| +#include "components/proximity_auth/screenlock_state.h"
|
| +
|
| namespace proximity_auth {
|
|
|
| // An interface that needs to be supplied to the Proximity Auth component by its
|
| @@ -18,6 +20,18 @@ class ProximityAuthClient {
|
|
|
| // Returns the authenticated username.
|
| virtual std::string GetAuthenticatedUsername() const = 0;
|
| +
|
| + // Updates the user pod on the signin or lock screen to reflect the provided
|
| + // screenlock state.
|
| + virtual void UpdateScreenlockState(ScreenlockState state) = 0;
|
| +
|
| + // Finalizes the previously started auth attempt for unlock. Cancels the
|
| + // current auth attempt if one exists.
|
| + virtual void FinalizeUnlock(bool success) = 0;
|
| +
|
| + // Finalizes the previously started auth attempt for sign-in. Cancels the
|
| + // current auth attempt if one exists.
|
| + virtual void FinalizeSignin(const std::string& secret) = 0;
|
| };
|
|
|
| } // namespace proximity_auth
|
|
|