PSM: Add helper functions to assign the PSM responses
The PSM RLWE OPRF/Query response will be assigned to the DeviceManagementResponse in several places after providing the mocked async replies from the server. Thus, this CL is providing helper functions to assign these replies accordingly. The async replies will be used to mock the behaviour when the PSM is in progress and OnConnectionChanged has been triggered, which will trigger RetryStep again. That will be needed due to a bug that shows that both protocols will be executed at the same time, instead of waiting until PSM finishes. Its fix, along with tests will be uploaded in another CL. BUG=chromium:1156119 Change-Id: I0e333987c63eac161437a0853049e015d10a7ace Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577496Reviewed-by:Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Roland Bock <rbock@google.com> Reviewed-by:
Pavol Marko <pmarko@chromium.org> Commit-Queue: Amr Aboelkher <amraboelkher@google.com> Cr-Commit-Position: refs/heads/master@{#834973}
Showing
Please register or sign in to comment