[blink scheduler] Create a separate WakeUpBudgetPool for cross-origin frames.
With this CL, a PageScheduler has 2 WakeUpBudgetPools: - A WakeUpBudgetPool for frames that are same-origin with the main frame. - A WakeUpBudgetPool for frames that are cross-origin to the main frame. A FrameScheduler moves its throttleable TaskQueues to the appropriate WakeUpBudgetPool when its "FrameOriginType" changes. This CL does not affect behavior. However, in an upcoming CL, the WakeUpBudgetPool for frames that are same-origin with the main frame will allow unaligned wake ups if there hasn't been a wake up in the last 60 seconds. Bug: 1075553 Change-Id: Ic45306f7d20d2fc0f4a1d9618dc6eca449e946dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248320 Commit-Queue: François Doray <fdoray@chromium.org> Reviewed-by:Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#780262}
Showing
Please register or sign in to comment