commit | bb4ba82e7889cc802c1d31f3bc501037f45ae707 | [log] [tgz] |
---|---|---|
author | Nate Chapin <japhet@chromium.org> | Fri May 25 23:03:59 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 25 23:03:59 2018 |
tree | 3986c2fb5bf4a98d1649299ab657274746fdee0a | |
parent | 0dd64bcc3f8949e7c01a6d91399f6f88d20104ef [diff] |
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/994060 Reviewed-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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .