| 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 dda962f09e745f3d793809e646ff64810db19919..bed1c096dc72836a6cd2e37955097b50ff8e53fc 100644
|
| --- a/chrome/browser/signin/easy_unlock_service.h
|
| +++ b/chrome/browser/signin/easy_unlock_service.h
|
| @@ -14,6 +14,7 @@ namespace user_prefs {
|
| class PrefRegistrySyncable;
|
| }
|
|
|
| +class EasyUnlockScreenlockStateHandler;
|
| class Profile;
|
|
|
| class EasyUnlockService : public KeyedService {
|
| @@ -35,14 +36,20 @@ class EasyUnlockService : public KeyedService {
|
| // permitted either the flag is enabled or its field trial is enabled.
|
| bool IsAllowed();
|
|
|
| + // Gets |screenlock_state_handler_|.
|
| + EasyUnlockScreenlockStateHandler* GetScreenlockStateHandler();
|
| +
|
| private:
|
| void Initialize();
|
| - void LoadApp();
|
| + // Returns whether the app was loaded.
|
| + bool LoadApp();
|
| void UnloadApp();
|
| void OnPrefsChanged();
|
|
|
| Profile* profile_;
|
| PrefChangeRegistrar registrar_;
|
| + // Set only if easy unlock app is loaded.
|
| + scoped_ptr<EasyUnlockScreenlockStateHandler> screenlock_state_handler_;
|
| base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
|
|
|