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

Side by Side Diff: content/child/scheduler/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: updates 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 CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_
6 #define CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_
7
8 #include "content/child/scheduler/single_thread_idle_task_runner.h"
9
10 namespace content {
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(
19 const tracked_objects::Location& from_here,
20 const IdleTask& idle_task) override;
21
22 void PostIdleTaskAfterWakeup(
23 const tracked_objects::Location& from_here,
24 const IdleTask& idle_task) override;
25
26 protected:
27 ~NullIdleTaskRunner() override;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(NullIdleTaskRunner);
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « content/child/scheduler/nestable_task_runner_for_test.cc ('k') | content/child/scheduler/null_idle_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698