Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1377)

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h

Issue 2806623004: Worker: Introduce per-global-scope task scheduler (Closed)
Patch Set: remove unnecessary comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
diff --git a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
index ab4b71f850fb8654f945bc36818e146ccc15e099..722b941a047b4f0f09c34d2fbbb61a692da07764 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
+++ b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
@@ -31,6 +31,8 @@ class BLINK_PLATFORM_EXPORT WebTaskRunnerImpl : public WebTaskRunner {
double MonotonicallyIncreasingVirtualTimeSeconds() const override;
base::SingleThreadTaskRunner* ToSingleThreadTaskRunner() override;
+ TaskQueue* GetTaskQueue() const { return task_queue_.get(); }
+
private:
explicit WebTaskRunnerImpl(scoped_refptr<TaskQueue> task_queue);
~WebTaskRunnerImpl() override;

Powered by Google App Engine
This is Rietveld 408576698