| 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..ce6ec6e87d51efe8069a04606764270f20e73686 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 a transitional task runner. Unthrottled 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
|
|
|