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

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

Issue 1264703003: Implement debugging local unlock keys in chrome://proximity-auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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.cc
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
index 4ccbcda307e4020cac3f421746b0838d3a5579ab..6e6707ba42fbf9668cf63e3cc90e16445f03e3cb 100644
--- a/chrome/browser/signin/easy_unlock_service.cc
+++ b/chrome/browser/signin/easy_unlock_service.cc
@@ -687,6 +687,11 @@ cryptauth::DeviceClassifier EasyUnlockService::GetDeviceClassifier() {
return device_classifier;
}
+std::string EasyUnlockService::GetAccountId() {
+ return SigninManagerFactory::GetForProfile(profile())
+ ->GetAuthenticatedAccountId();
+}
+
gcm::GCMDriver* EasyUnlockService::GetGCMDriver() {
gcm::GCMProfileService* gcm_profile_service =
gcm::GCMProfileServiceFactory::GetForProfile(profile_);

Powered by Google App Engine
This is Rietveld 408576698