[Tracing] Remove base::Thread usage from ETWTracingAgent
post_task.h is now preferred to creating special purposed base::Threads All this code needs is a SequencedTaskRunner which is allowed to perform file I/O. Furthermore, PlatformThread::Join() and hence Thread::Stop() will be marked as a blocking operation in https://chromium-review.googlesource.com/c/chromium/src/+/1324370 and this code was preventing that (even though in this case the Join() was mostly a fast operation as there were no tasks left by the time it was invoked). R=chiniforooshan@chromium.org Bug: 707362 Change-Id: Iec2f823e762cea2d1d1e775117fd95d871baa574 Reviewed-on: https://chromium-review.googlesource.com/c/1338178Reviewed-by:Ehsan Chiniforooshan <chiniforooshan@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#608610}
Showing
Please register or sign in to comment