| 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..0faff50b9f1fe1513dbaf256afa48b80beecd6ce 100644
|
| --- a/chrome/browser/signin/easy_unlock_service.cc
|
| +++ b/chrome/browser/signin/easy_unlock_service.cc
|
| @@ -288,6 +288,7 @@ void EasyUnlockService::RegisterProfilePrefs(
|
| false,
|
| user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
|
| + proximity_auth::CryptAuthGCMManager::RegisterPrefs(registry);
|
| proximity_auth::CryptAuthDeviceManager::RegisterPrefs(registry);
|
| proximity_auth::CryptAuthEnrollmentManager::RegisterPrefs(registry);
|
|
|
| @@ -687,6 +688,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_);
|
|
|