Allow waiting in background Icing work
The HistoryReportJniBridge.addHistoricVisitsToUsageReportsBuffer() method runs on a background thread, so it is fine to use base::WaitableEvent in the underlying JNI functions without affecting responsiveness. Bug: 943381 Change-Id: I85150cf9ec29de15b3375587b89ccae265490330 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1531029Reviewed-by:Albert J. Wong <ajwong@chromium.org> Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#646684}
Showing
Please register or sign in to comment