Support WorkerSchedulers for nested workers
Currently, FrameSchedulerImpl keeps a set of throttling observers that it notifies when throttling state changes. This includes each worker's WorkerSchedulerProxy. This CL moves throttling observers to the base class, FrameOrWorkerScheduler, allowing each nested worker to register its WorkerSchedulerProxy with its parent WorkerScheduler, so the WorkerScheduler can then propagate throttling state to the nested worker. Bug: 829119 Change-Id: If005e3ec781b2fc0ecd3ba1ba73fa4b0e6ef1a0f Reviewed-on: https://chromium-review.googlesource.com/994060Reviewed-by:Pavel Feldman <pfeldman@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/master@{#562052}
Showing
Please register or sign in to comment