Fix race when sending a Sharing message
There is a race when we wait on the response from FCM to give us the message id of the sent message. If we for some reason get the ACK for that message before the response from FCM, we discard the ACK and timeout. Bug: None Change-Id: I35a1965aa5e1034af1b046099a60656ea61b59cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2001302 Commit-Queue: Richard Knoll <knollr@chromium.org> Reviewed-by:Alex Chau <alexchau@chromium.org> Cr-Commit-Position: refs/heads/master@{#732097}
Showing
Please register or sign in to comment