Chromium Code Reviews| Index: third_party/WebKit/Source/platform/WebFrameScheduler.h |
| diff --git a/third_party/WebKit/Source/platform/WebFrameScheduler.h b/third_party/WebKit/Source/platform/WebFrameScheduler.h |
| index 0a14a9d928c02cdfd602481eb4db293fc7d9978a..a439940b9e456ea68fe84fd831be0a88c995b02a 100644 |
| --- a/third_party/WebKit/Source/platform/WebFrameScheduler.h |
| +++ b/third_party/WebKit/Source/platform/WebFrameScheduler.h |
| @@ -51,6 +51,13 @@ class WebFrameScheduler { |
| // WebFrameScheduler owns the returned WebTaskRunner. |
| virtual RefPtr<WebTaskRunner> timerTaskRunner() = 0; |
| + // Returns the WebTaskRunner for tasks which shouldn't get throttled, |
| + // but can be suspended. |
| + // TODO(altimin): This is transitional task runner. Unthrottled task runner |
|
haraken
2017/03/22 23:48:34
a transitional task runner
|
| + // would become suspendable in the nearest future and a new unsuspended |
| + // task runner will be added. |
| + virtual RefPtr<WebTaskRunner> suspendableTaskRunner() = 0; |
| + |
| // Returns the WebTaskRunner for tasks which should never get throttled. |
| // This is generally used for executing internal browser tasks which should |
| // never be throttled. Ideally only tasks whose performance characteristics |