[sync] Allow custom debug messages in AwaitMatchStatusChangeChecker
There's no reason for this class to take a fixed string with a debug message upon construction. It can instead produce the string dynamically upon condition verification, such that the failure messages provide a better insight into the actual state. Bug: 1150829 Change-Id: I693339cc1bfe79ce69c28d7ce84faf8e48ec3562 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2557986Reviewed-by:Maksim Moskvitin <mmoskvitin@google.com> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#831088}
Showing
Please register or sign in to comment