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

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

Issue 1411843008: Make blink platform time consistent with the timer virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CachingCorrectnessTest Created 5 years, 1 month 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
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 namespace content { 7 namespace content {
8 8
9 FakeRendererScheduler::FakeRendererScheduler() { 9 FakeRendererScheduler::FakeRendererScheduler() {
10 } 10 }
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 void FakeRendererScheduler::SuspendTimerQueue() { 112 void FakeRendererScheduler::SuspendTimerQueue() {
113 } 113 }
114 114
115 void FakeRendererScheduler::ResumeTimerQueue() { 115 void FakeRendererScheduler::ResumeTimerQueue() {
116 } 116 }
117 117
118 void FakeRendererScheduler::SetTimerQueueSuspensionWhenBackgroundedEnabled( 118 void FakeRendererScheduler::SetTimerQueueSuspensionWhenBackgroundedEnabled(
119 bool enabled) {} 119 bool enabled) {}
120 120
121 double FakeRendererScheduler::CurrentTimeSeconds() const {
122 return 0.0;
123 }
124
125 double FakeRendererScheduler::MonotonicallyIncreasingTimeSeconds() const {
126 return 0.0;
127 }
128
121 } // namespace content 129 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_renderer_scheduler.h ('k') | third_party/WebKit/Source/bindings/core/v8/V8GCForContextDispose.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698