Index: chrome/browser/chromeos/login/parallel_authenticator.cc |
diff --git a/chrome/browser/chromeos/login/parallel_authenticator.cc b/chrome/browser/chromeos/login/parallel_authenticator.cc |
index ba7e6f4ca6a4d5b07803a5bd06b6e30c8559b8d1..9fac1146a4ad0539343651735a6d5588adb312fa 100644 |
--- a/chrome/browser/chromeos/login/parallel_authenticator.cc |
+++ b/chrome/browser/chromeos/login/parallel_authenticator.cc |
@@ -14,6 +14,7 @@ |
#include "chrome/browser/chromeos/boot_times_loader.h" |
#include "chrome/browser/chromeos/login/authentication_notification_details.h" |
#include "chrome/browser/chromeos/login/login_status_consumer.h" |
+#include "chrome/browser/chromeos/login/owner_settings_service_factory.h" |
#include "chrome/browser/chromeos/login/user.h" |
#include "chrome/browser/chromeos/login/user_manager.h" |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
@@ -505,9 +506,10 @@ bool ParallelAuthenticator::VerifyOwner() { |
owner_is_verified_ = true; |
return true; |
} |
- // Now we can continue reading the private key. |
- DeviceSettingsService::Get()->SetUsername( |
+ |
+ OwnerSettingsServiceFactory::GetInstance()->SetUsername( |
current_state_->user_context.username); |
+ |
// This should trigger certificate loading, which is needed in order to |
// correctly determine if the current user is the owner. |
if (LoginState::IsInitialized()) { |