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

Side by Side Diff: content/test/fake_renderer_scheduler.cc

Issue 1675633002: WebTaskRunnerImpl to take a TaskQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 10 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
« no previous file with comments | « content/test/fake_renderer_scheduler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/fake_renderer_scheduler.h" 5 #include "content/test/fake_renderer_scheduler.h"
6 6
7 #include "third_party/WebKit/public/platform/WebThread.h" 7 #include "third_party/WebKit/public/platform/WebThread.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 FakeRendererScheduler::FakeRendererScheduler() { 11 FakeRendererScheduler::FakeRendererScheduler() {
12 } 12 }
13 13
14 FakeRendererScheduler::~FakeRendererScheduler() { 14 FakeRendererScheduler::~FakeRendererScheduler() {
15 } 15 }
16 16
17 scoped_ptr<blink::WebThread> FakeRendererScheduler::CreateMainThread() { 17 scoped_ptr<blink::WebThread> FakeRendererScheduler::CreateMainThread() {
18 return nullptr; 18 return nullptr;
19 } 19 }
20 20
21 scoped_refptr<base::SingleThreadTaskRunner> 21 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::DefaultTaskRunner() {
22 FakeRendererScheduler::DefaultTaskRunner() {
23 return nullptr; 22 return nullptr;
24 } 23 }
25 24
26 scoped_refptr<base::SingleThreadTaskRunner> 25 scoped_refptr<scheduler::TaskQueue>
27 FakeRendererScheduler::CompositorTaskRunner() { 26 FakeRendererScheduler::CompositorTaskRunner() {
28 return nullptr; 27 return nullptr;
29 } 28 }
30 29
31 scoped_refptr<base::SingleThreadTaskRunner> 30 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::LoadingTaskRunner() {
32 FakeRendererScheduler::LoadingTaskRunner() {
33 return nullptr; 31 return nullptr;
34 } 32 }
35 33
36 scoped_refptr<scheduler::SingleThreadIdleTaskRunner> 34 scoped_refptr<scheduler::SingleThreadIdleTaskRunner>
37 FakeRendererScheduler::IdleTaskRunner() { 35 FakeRendererScheduler::IdleTaskRunner() {
38 return nullptr; 36 return nullptr;
39 } 37 }
40 38
41 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::TimerTaskRunner() { 39 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::TimerTaskRunner() {
42 return nullptr; 40 return nullptr;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 double FakeRendererScheduler::VirtualTimeSeconds() const { 126 double FakeRendererScheduler::VirtualTimeSeconds() const {
129 return 0.0; 127 return 0.0;
130 } 128 }
131 129
132 double FakeRendererScheduler:: 130 double FakeRendererScheduler::
133 MonotonicallyIncreasingVirtualTimeSeconds() const { 131 MonotonicallyIncreasingVirtualTimeSeconds() const {
134 return 0.0; 132 return 0.0;
135 } 133 }
136 134
137 } // namespace content 135 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_renderer_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698