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.
5 #ifndef COMPONENTS_SCHEDULER_RENDERER_RENDERER_WEB_SCHEDULER_IMPL_H_
6 #define COMPONENTS_SCHEDULER_RENDERER_RENDERER_WEB_SCHEDULER_IMPL_H_
8 #include "components/scheduler/child/web_scheduler_impl.h"
12 class RendererScheduler
;
14 class SCHEDULER_EXPORT RendererWebSchedulerImpl
: public WebSchedulerImpl
{
16 explicit RendererWebSchedulerImpl(RendererScheduler
* child_scheduler
);
18 ~RendererWebSchedulerImpl() override
;
20 // blink::WebScheduler implementation:
21 virtual void suspendTimerQueue();
22 virtual void resumeTimerQueue();
25 RendererScheduler
* renderer_scheduler_
; // NOT OWNED
28 } // namespace scheduler
30 #endif // COMPONENTS_SCHEDULER_RENDERER_RENDERER_WEB_SCHEDULER_IMPL_H_