| Index: chrome/browser/chromeos/login/auth/parallel_authenticator.cc
|
| diff --git a/chrome/browser/chromeos/login/auth/parallel_authenticator.cc b/chrome/browser/chromeos/login/auth/parallel_authenticator.cc
|
| index c047d5005c66aba540213e75c8f2664296cb05a6..ab5e2d2e3e51e9965e7623578661c8d60f22a6c7 100644
|
| --- a/chrome/browser/chromeos/login/auth/parallel_authenticator.cc
|
| +++ b/chrome/browser/chromeos/login/auth/parallel_authenticator.cc
|
| @@ -16,6 +16,7 @@
|
| #include "chrome/browser/chromeos/login/auth/login_status_consumer.h"
|
| #include "chrome/browser/chromeos/login/users/user.h"
|
| #include "chrome/browser/chromeos/login/users/user_manager.h"
|
| +#include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h"
|
| #include "chrome/browser/chromeos/settings/cros_settings.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chromeos/cryptohome/async_method_caller.h"
|
| @@ -487,9 +488,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.GetUserID());
|
| +
|
| // This should trigger certificate loading, which is needed in order to
|
| // correctly determine if the current user is the owner.
|
| if (LoginState::IsInitialized()) {
|
|
|