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 caaa460557640140c0f126eb05ba981078bb2704..df6a2134f8f36f50f27eda70333be165b9f6265f 100644 |
--- a/chrome/browser/signin/easy_unlock_service.h |
+++ b/chrome/browser/signin/easy_unlock_service.h |
@@ -131,6 +131,9 @@ class EasyUnlockService : public KeyedService { |
// permitted either the flag is enabled or its field trial is enabled. |
bool IsAllowed(); |
+ // Whether Easy Unlock is currently enabled for this user. |
+ bool IsEnabled() const; |
+ |
// Sets the hardlock state for the associated user. |
void SetHardlockState(EasyUnlockScreenlockStateHandler::HardlockState state); |
@@ -192,7 +195,7 @@ class EasyUnlockService : public KeyedService { |
// Service type specific tests for whether the service is allowed. Returns |
// false if service is not allowed. If true is returned, the service may still |
// not be allowed if common tests fail (e.g. if Bluetooth is not available). |
- virtual bool IsAllowedInternal() = 0; |
+ virtual bool IsAllowedInternal() const = 0; |
// KeyedService override: |
void Shutdown() override; |