diff --git a/components/sync/service/brave_sync_auth_manager.cc b/components/sync/service/brave_sync_auth_manager.cc index 6b3dc11c8efd..d03d8ca746ad 100644 --- a/components/sync/service/brave_sync_auth_manager.cc +++ b/components/sync/service/brave_sync_auth_manager.cc @@ -12,6 +12,7 @@ #include "brave/components/brave_sync/network_time_helper.h" #include "brave/components/constants/brave_services_key.h" #include "brave/components/constants/network_constants.h" +#include "google_apis/gaia/gaia_id.h" namespace syncer { @@ -78,7 +79,7 @@ SyncAccountInfo BraveSyncAuthManager::DetermineAccountToUse() const { base::HexEncode(public_key_.data(), public_key_.size()); AccountInfo account_info; account_info.account_id = CoreAccountId::FromString(client_id); - account_info.gaia = client_id; + account_info.gaia = GaiaId(client_id); // about:sync-internals needs space separator in order to confine table // data within specific width. (ex. client_version and encrypted_types) account_info.email =