[PasswordManager] StatementToForms() should return fine-grained result
Before this CL: StatmentToForms() used to return false in case of DB error or Decryption failure. This doesn't allow upper layers from acting differently in each case. After this CL: StatmentToForms() return one of three outcomes: SUCCESS, DB_ERROR, ENCRYPTION_SERVICE_FAILURE This allow later patches to use of the outcome and do cleanup of passwords don't are not decryptable. Bug: 935996 Change-Id: I2e27285feef76030895ab4476bc9f3cde2e53e87 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1499353 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#637650}
Showing
Please register or sign in to comment