WebApp: Redesign RegisterApp and UnregisterApp methods.
Support creation and deletion of apps as a part of single update. RegisterApp, UnregisterApp and UnregisterAll methods now can be expressed within one WebAppRegistryUpdate (one transaction). Report kWriteDataFailed in InstallFinalizer if commit fails. WebAppRegistryUpdate CreateApp/UpdateApp/DeleteApp is now the only writable database API (as in Database CRUD: Create/Update/Delete). Bug: 860583 Change-Id: Ia2e23a4d4a0d47e62b815abd55803616a204e813 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824043Reviewed-by:Alan Cutter <alancutter@chromium.org> Commit-Queue: Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#700088}
Showing
Please register or sign in to comment