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

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

Issue 729803002: Easy Sign-in: Use TPM RSA key to sign nonce in sign-in protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 216d3807316fe6ed1ca76fcba7c3f24dbe1877e7..06915e75896e4dc92c9aa108a878067495b3a76d 100644
--- a/chrome/browser/signin/easy_unlock_service.h
+++ b/chrome/browser/signin/easy_unlock_service.h
@@ -255,6 +255,8 @@ class EasyUnlockService : public KeyedService {
// Updates the service to state for handling system suspend.
void PrepareForSuspend();
+ void EnsureTpmKeyPresentIfNeeded();
+
Profile* profile_;
// Created lazily in |GetScreenlockStateHandler|.
@@ -275,6 +277,8 @@ class EasyUnlockService : public KeyedService {
// Whether the service has been shut down.
bool shut_down_;
+ bool tpm_key_checked_;
+
ObserverList<EasyUnlockServiceObserver> observers_;
base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698