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

Side by Side Diff: components/scheduler/child/null_idle_task_runner.h

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_SCHEDULER_CHILD_NULL_IDLE_TASK_RUNNER_H_
6 #define COMPONENTS_SCHEDULER_CHILD_NULL_IDLE_TASK_RUNNER_H_
7
8 #include "components/scheduler/child/single_thread_idle_task_runner.h"
9
10 namespace scheduler {
11
12 class NullIdleTaskRunner : public SingleThreadIdleTaskRunner {
13 public:
14 NullIdleTaskRunner();
15 void PostIdleTask(const tracked_objects::Location& from_here,
16 const IdleTask& idle_task) override;
17
18 void PostNonNestableIdleTask(const tracked_objects::Location& from_here,
19 const IdleTask& idle_task) override;
20
21 void PostIdleTaskAfterWakeup(const tracked_objects::Location& from_here,
22 const IdleTask& idle_task) override;
23
24 protected:
25 ~NullIdleTaskRunner() override;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(NullIdleTaskRunner);
29 };
30
31 } // namespace scheduler
32
33 #endif // COMPONENTS_SCHEDULER_CHILD_NULL_IDLE_TASK_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698