[DeviceSync v2] Add Delegate class to fakes
Add Delegate classes to FakeCryptAuthFeatureStatusSetter and FakeCryptAuthDeviceNotifier that are alerted when SetFeatureStatus() and NotifyDevices(), respectively, are called. This is analogous to the behavior of FakeSoftwareFeatureManager. These delegates are used to make the DeviceSync service unit tests more robust to asynchronous behavior. Bug: 951969 Change-Id: Idcc1fe95a1b70fad0d99e67216bf40fd61af0ef8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1893517 Commit-Queue: Josh Nohle <nohle@chromium.org> Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Auto-Submit: Josh Nohle <nohle@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#711379}
Showing
Please register or sign in to comment