commit | dddafa90dd4cf68a4d71b46cddf08e7ab7d91ded | [log] [tgz] |
---|---|---|
author | Dominick Ng <dominickn@chromium.org> | Fri Mar 22 01:13:19 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 22 01:13:19 2019 |
tree | d3f0bcbbb00d777f421ffbe9cb0da33e42eef584 | |
parent | 127e44d78e4acf3aa2dfb3781071a10dd06c21dc [diff] |
Implement a GetAllErrors method for InstallableManager. This CL adds a way for a caller to initiate a "dry-run" installability check that accumulates all errors, and returns a list of strings via a callback. Tests are added to ensure the correct functionality. Some of the error cases trigger on navigation away from the page. These will not be returned to a GetAllErrors call and have been marked as UMA-only. BUG=915945 Change-Id: I732b81185c1c632935e73ac3cdae49e6960ecdb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1514011 Commit-Queue: Dominick Ng <dominickn@chromium.org> Reviewed-by: Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#643205}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .