| Index: chrome/browser/signin/easy_unlock_service.h
|
| diff --git a/chrome/browser/signin/easy_unlock_service.h b/chrome/browser/signin/easy_unlock_service.h
|
| index 713986b03e4803c058810ea5af265df6419d65a5..c43a4df8c7a0096d730555e0731cffc62ad8af34 100644
|
| --- a/chrome/browser/signin/easy_unlock_service.h
|
| +++ b/chrome/browser/signin/easy_unlock_service.h
|
| @@ -50,6 +50,16 @@ class EasyUnlockService : public KeyedService {
|
| TYPE_SIGNIN
|
| };
|
|
|
| + // Easy Unlock settings that the user can configure.
|
| + struct UserSettings {
|
| + UserSettings();
|
| + ~UserSettings();
|
| +
|
| + // Whether to check that the remote device must be in very close proximity
|
| + // before allowing unlock (~1 feet).
|
| + bool check_close_proximity;
|
| + };
|
| +
|
| // Gets EasyUnlockService instance.
|
| static EasyUnlockService* Get(Profile* profile);
|
|
|
| @@ -66,6 +76,9 @@ class EasyUnlockService : public KeyedService {
|
| // Removes the hardlock state for the given user.
|
| static void ResetLocalStateForUser(const std::string& user_id);
|
|
|
| + // Returns the user's preferences.
|
| + static UserSettings GetUserSettings(const std::string& user_id);
|
| +
|
| // Returns true if Easy sign-in is enabled.
|
| static bool IsSignInEnabled();
|
|
|
|
|