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

Unified Diff: components/scheduler/child/web_scheduler_impl.h

Issue 1309423004: Introduce WebTaskRunner Patch 4/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try and fix compile Created 5 years, 3 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
« no previous file with comments | « components/html_viewer/web_test_delegate_impl.cc ('k') | components/scheduler/child/web_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/web_scheduler_impl.h
diff --git a/components/scheduler/child/web_scheduler_impl.h b/components/scheduler/child/web_scheduler_impl.h
index 923432d1a087a676a1dfcf434f1653143cd0991b..be63351dc81400ffc1b0f3f5937de16b31174d04 100644
--- a/components/scheduler/child/web_scheduler_impl.h
+++ b/components/scheduler/child/web_scheduler_impl.h
@@ -42,37 +42,20 @@ class SCHEDULER_EXPORT WebSchedulerImpl : public blink::WebScheduler {
blink::WebThread::IdleTask* task);
virtual void postIdleTaskAfterWakeup(const blink::WebTraceLocation& location,
blink::WebThread::IdleTask* task);
- // TODO(alexclarke): Remove this.
- virtual void postLoadingTask(const blink::WebTraceLocation& location,
- blink::WebThread::Task* task);
virtual blink::WebTaskRunner* loadingTaskRunner();
virtual blink::WebTaskRunner* timerTaskRunner();
// TODO(alexclarke): Remove when possible.
virtual void postTimerTaskAt(const blink::WebTraceLocation& location,
- blink::WebThread::Task* task,
- double monotonicTime);
- // TODO(alexclarke): Remove when possible.
- virtual void postTimerTaskAt(const blink::WebTraceLocation& location,
blink::WebTaskRunner::Task* task,
double monotonicTime);
- // TODO(alexclarke): Remove this.
- virtual void postTimerTask(const blink::WebTraceLocation& location,
- blink::WebThread::Task* task,
- double delaySecs);
- // TODO(alexclarke): Remove this.
- virtual void postTimerTask(const blink::WebTraceLocation& location,
- blink::WebThread::Task* task,
- long long delayMs);
private:
static void runIdleTask(scoped_ptr<blink::WebThread::IdleTask> task,
base::TimeTicks deadline);
- static void runTask(scoped_ptr<blink::WebThread::Task> task);
ChildScheduler* child_scheduler_; // NOT OWNED
scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_;
scoped_refptr<TaskQueue> timer_task_runner_;
scoped_ptr<WebTaskRunnerImpl> loading_web_task_runner_;
scoped_ptr<WebTaskRunnerImpl> timer_web_task_runner_;
« no previous file with comments | « components/html_viewer/web_test_delegate_impl.cc ('k') | components/scheduler/child/web_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698