
For online app installs, the update server does compat checks to make sure the app being installed matches with the OS that the install is being attempted on. This CL adds equivalent support for offline installs, where no update server is involved. The `platform`, `arch`, and `min_os_version` attributes in the offline update response are used to determine compatibility of the app being installed with the host OS. Bug: 1382653 Change-Id: If1fc76f9e4197b8384c3f98a455988e10babf699 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021533 Reviewed-by: Sorin Jianu <sorin@chromium.org> Commit-Queue: Sorin Jianu <sorin@chromium.org> Commit-Queue: S Ganesh <ganesh@chromium.org> Auto-Submit: S Ganesh <ganesh@chromium.org> Cr-Commit-Position: refs/heads/main@{#1070156}