Add TaskType to EventTarget::EnqueueAsyncEvent
Events and task sources are orthogonal things, and it would not make sense to determine a task source (task type) from an event. This CL adds a TaskType argument to specify the task source explicitly. Bug: 846618 Change-Id: I2c3c5d51e8d94ee12905bc8b850162f10433ad76 Reviewed-on: https://chromium-review.googlesource.com/1114529Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Cr-Commit-Position: refs/heads/master@{#570360}
Showing
Please register or sign in to comment