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

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

Issue 446743003: Hook up new API for easy unlock to update lock screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: v Created 6 years, 4 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 dda962f09e745f3d793809e646ff64810db19919..a2ec6138c65d1f4721180198d6417c21bca8a824 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,6 +36,10 @@ class EasyUnlockService : public KeyedService {
// permitted either the flag is enabled or its field trial is enabled.
bool IsAllowed();
+ EasyUnlockScreenlockStateHandler* screenlock_state_handler() const {
+ return screenlock_state_handler_.get();
+ }
+
private:
void Initialize();
void LoadApp();
@@ -43,6 +48,7 @@ class EasyUnlockService : public KeyedService {
Profile* profile_;
PrefChangeRegistrar registrar_;
+ scoped_ptr<EasyUnlockScreenlockStateHandler> screenlock_state_handler_;
base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);

Powered by Google App Engine
This is Rietveld 408576698