Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6912)

Unified Diff: chrome/browser/signin/easy_unlock_service.h

Issue 644873002: Easy Unlock Show connecting user pod icon when waking up from sleep (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 95585d763dc52f361e039df665e36acd125c973d..11891cc599bfeb9e7ef89ad673dc32c4e484b544 100644
--- a/chrome/browser/signin/easy_unlock_service.h
+++ b/chrome/browser/signin/easy_unlock_service.h
@@ -177,7 +177,10 @@ class EasyUnlockService : public KeyedService {
void LoadApp();
// Disables the Easy unlock component app if it's loaded.
- void DisableAppIfLoaded();
+ // |reset_screenlock_state|: Whether the screenlock state should be reset
+ // before disabling the app. If set, the caller should take care of
+ // properly updating the screenlock state.
+ void DisableAppIfLoaded(bool reset_screenlock_state);
// Unloads the Easy unlock component app if it's loaded.
void UnloadApp();
@@ -232,6 +235,9 @@ class EasyUnlockService : public KeyedService {
const chromeos::EasyUnlockDeviceKeyDataList& key_data_list);
#endif
+ // Updates the service to state for handling system suspend.
+ void PrepareForSuspend();
+
Profile* profile_;
// Created lazily in |GetScreenlockStateHandler|.

Powered by Google App Engine
This is Rietveld 408576698