Adding asyn auth api, and moving Windows auth call to thread pool.
When user tries to export password or view saved password by visiting chrome://settings/passwords url and clicking on "Export passwords..." or eye icon on password list respectively, OS Reauthentication is triggered, and on successful authentication plain text password is revealed. Currently OS authentication call is on UI Thread. And if OS authentication takes time, it freezes/hangs browser. This change has made authentication api async, and moved windows authentication call to thread pool from UI thread. Since the UI thread will be freed, browser will not freeze or hang. Bug: 1007950 Change-Id: I2f35707fe458687a4ec22de1381d21ec9603733f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1828730 Commit-Queue: Ankit Jain <ankjain@microsoft.com> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#707029}
Showing
Please register or sign in to comment