| Index: third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
|
| diff --git a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d3a5b19f21124188145988dc08c682a48977e07d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef TaskRunnerHelper_h
|
| +#define TaskRunnerHelper_h
|
| +
|
| +#include "wtf/Allocator.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class Document;
|
| +class LocalFrame;
|
| +class WebTaskRunner;
|
| +
|
| +class TaskRunnerHelper final {
|
| + STATIC_ONLY(TaskRunnerHelper);
|
| +public:
|
| + static WebTaskRunner* getUnthrottledTaskRunner(LocalFrame*);
|
| + static WebTaskRunner* getTimerTaskRunner(LocalFrame*);
|
| + static WebTaskRunner* getLoadingTaskRunner(LocalFrame*);
|
| + static WebTaskRunner* getUnthrottledTaskRunner(Document*);
|
| + static WebTaskRunner* getTimerTaskRunner(Document*);
|
| + static WebTaskRunner* getLoadingTaskRunner(Document*);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif
|
|
|