-
Maciek Kumorek authored
Add --simulate-update-hresult and --simulate-update-error-code switches. The first switch can take the HRESULT error code value, the second one specifies a value that corresponds to the GoolgeUpdateErrorCode enum. With these switches, when using VersionUpdaterWin, one can simulate errors in the about page to debug how the UI reflects certain errors conditions. Bug: 1066529 Change-Id: I6500b81108c69d252087ebcdb1cba0ffba86dbed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131019 Commit-Queue: Maciek Kumorek <makumo@microsoft.com> Reviewed-by:
Peter Kasting <pkasting@chromium.org> Reviewed-by:
Sorin Jianu <sorin@chromium.org> Reviewed-by:
Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#760218}
f9178f09