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

Unified Diff: chrome/browser/signin/chrome_proximity_auth_client.cc

Issue 2863533003: [EasyUnlock] Serialize and store BeaconSeeds along as cryptohome key metadata. (Closed)
Patch Set: comments Created 3 years, 7 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/chrome_proximity_auth_client.cc
diff --git a/chrome/browser/signin/chrome_proximity_auth_client.cc b/chrome/browser/signin/chrome_proximity_auth_client.cc
index 94e33cfbe5b9a0bbeedc7f31fb6cbedb8a4fb12d..da812d164b4a4f13e90f1fe389f17435d71275fc 100644
--- a/chrome/browser/signin/chrome_proximity_auth_client.cc
+++ b/chrome/browser/signin/chrome_proximity_auth_client.cc
@@ -97,7 +97,14 @@ PrefService* ChromeProximityAuthClient::GetPrefService() {
std::unique_ptr<cryptauth::SecureMessageDelegate>
ChromeProximityAuthClient::CreateSecureMessageDelegate() {
- return GetCryptAuthService()->CreateSecureMessageDelegate();
+// Note: Although CryptAuthService::CreateSecureMessageDelegate() exists, we
+// don't use it here (as opposed to other methods in this class) because the
+// CryptAuthService is not available on the ChromeOS login screen.
+#if defined(OS_CHROMEOS)
+ return base::MakeUnique<chromeos::SecureMessageDelegateChromeOS>();
+#else
+ return nullptr;
+#endif
}
std::unique_ptr<cryptauth::CryptAuthClientFactory>
« no previous file with comments | « chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.cc ('k') | chrome/browser/signin/easy_unlock_service_regular.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698