| 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 250a2059dc9141acfd94d69f92f4441f95699ef0..e93f89b5d2cecc60ab5d0b3da201fd861f56c72c 100644
|
| --- a/chrome/browser/signin/easy_unlock_service.h
|
| +++ b/chrome/browser/signin/easy_unlock_service.h
|
| @@ -84,11 +84,12 @@ class EasyUnlockService : public KeyedService {
|
| // Initializes the service after ExtensionService is ready.
|
| void Initialize();
|
|
|
| - // Loads the Easy unlock component app.
|
| + // Installs the Easy unlock component app if it isn't installed or enables
|
| + // the app if it is installed but disabled.
|
| void LoadApp();
|
|
|
| - // Unloads the Easy unlock component app.
|
| - void UnloadApp();
|
| + // Disables the Easy unlock component app.
|
| + void DisableApp();
|
|
|
| // Checks whether Easy unlock should be running and updates app state.
|
| void UpdateAppState();
|
| @@ -115,6 +116,12 @@ class EasyUnlockService : public KeyedService {
|
| scoped_ptr<EasyUnlockToggleFlow> turn_off_flow_;
|
| ObserverList<EasyUnlockServiceObserver> observers_;
|
|
|
| +#if defined(OS_CHROMEOS)
|
| + // Monitors suspend and wake state of ChromeOS.
|
| + class PowerMonitor;
|
| + scoped_ptr<PowerMonitor> power_monitor_;
|
| +#endif
|
| +
|
| base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
|
|
|