| Index: third_party/WebKit/public/web/WebLocalFrame.h
|
| diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
|
| index a650b6fdd511425e6de5ed50782712bd0fdb9a69..a6dde3392cbe5b8a92c421cd9e0039f87d35108b 100644
|
| --- a/third_party/WebKit/public/web/WebLocalFrame.h
|
| +++ b/third_party/WebKit/public/web/WebLocalFrame.h
|
| @@ -12,6 +12,10 @@
|
| #include "public/platform/WebCachePolicy.h"
|
| #include "public/platform/WebURLError.h"
|
|
|
| +namespace base {
|
| +class SingleThreadTaskRunner;
|
| +}
|
| +
|
| namespace blink {
|
|
|
| class WebAutofillClient;
|
| @@ -437,6 +441,14 @@ class WebLocalFrame : public WebFrame {
|
| // This will be removed following the deprecation.
|
| virtual void usageCountChromeLoadTimes(const WebString& metric) = 0;
|
|
|
| + // Task queues --------------------------------------------------------------
|
| +
|
| + // Returns frame-specific task runner to run tasks of this type on.
|
| + // They have the same lifetime as the frame.
|
| + virtual base::SingleThreadTaskRunner* timerTaskRunner() = 0;
|
| + virtual base::SingleThreadTaskRunner* loadingTaskRunner() = 0;
|
| + virtual base::SingleThreadTaskRunner* unthrottledTaskRunner() = 0;
|
| +
|
| protected:
|
| explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) {}
|
|
|
|
|