Revert "Move OnCustomInstall body to SequencedTaskRunner"
This reverts commit b8a20799. Reason for revert: it turns out that dbus method call in chrome requires UI thread (a DCHECK is broken). my initial plan to do blocking dbus call in OnCustomInstall is no longer viable. OnCustomInstall still needs to block its calling thread: crbug.com/783495 and i will investigate change in component updater to achieve this. more discussions regarding dbus blocking method call are here: https://chromium-review.googlesource.com/c/chromium/src/+/762080 Original change's description: > Move OnCustomInstall body to SequencedTaskRunner > > Currently, OnCustomInstall is invoked in a background thread but it > invokes imageloader on UI thread which does not bring any known benefits. > > We move imageloader operation from UI thread over a SequnecedTaskRunner. > > BUG=chromium:780201 > TEST=install is successful on DUT > > Change-Id: I8deb2ebae9ff22fcf992f4c34d6198ddbcad0c70 > Reviewed-on: https://chromium-review.googlesource.com/752622 > Reviewed-by: Joshua Pawlicki <waffles@chromium.org> > Reviewed-by: Greg Kerr <kerrnel@chromium.org> > Reviewed-by: Dan Erat <derat@chromium.org> > Commit-Queue: Xiaochu Liu <xiaochu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#515291} TBR=derat@chromium.org,waffles@chromium.org,ejcaruso@chromium.org,kerrnel@chromium.org,xiaochu@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:780201 Change-Id: Ieb0b29ee30dcbd6208bd1c2fcd176cbb10ad48d4 Reviewed-on: https://chromium-review.googlesource.com/775561 Commit-Queue: Xiaochu Liu <xiaochu@chromium.org> Reviewed-by:Dan Erat <derat@chromium.org> Cr-Commit-Position: refs/heads/master@{#517257}
Showing
Please register or sign in to comment