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

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

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 #ifndef CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ 5 #ifndef CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_
6 #define CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ 6 #define CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_
7 7
8 #include "components/scheduler/renderer/renderer_scheduler.h" 8 #include "components/scheduler/renderer/renderer_scheduler.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 bool IsHighPriorityWorkAnticipated() override; 44 bool IsHighPriorityWorkAnticipated() override;
45 bool CanExceedIdleDeadlineIfRequired() const override; 45 bool CanExceedIdleDeadlineIfRequired() const override;
46 bool ShouldYieldForHighPriorityWork() override; 46 bool ShouldYieldForHighPriorityWork() override;
47 void AddTaskObserver(base::MessageLoop::TaskObserver* task_observer) override; 47 void AddTaskObserver(base::MessageLoop::TaskObserver* task_observer) override;
48 void RemoveTaskObserver( 48 void RemoveTaskObserver(
49 base::MessageLoop::TaskObserver* task_observer) override; 49 base::MessageLoop::TaskObserver* task_observer) override;
50 void Shutdown() override; 50 void Shutdown() override;
51 void SuspendTimerQueue() override; 51 void SuspendTimerQueue() override;
52 void ResumeTimerQueue() override; 52 void ResumeTimerQueue() override;
53 void SetTimerQueueSuspensionWhenBackgroundedEnabled(bool enabled) override; 53 void SetTimerQueueSuspensionWhenBackgroundedEnabled(bool enabled) override;
54 double CurrentTimeSeconds() const override;
55 double MonotonicallyIncreasingTimeSeconds() const override;
54 56
55 private: 57 private:
56 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler); 58 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler);
57 }; 59 };
58 60
59 } // namespace content 61 } // namespace content
60 62
61 #endif // CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ 63 #endif // CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | content/test/fake_renderer_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698