| Index: components/scheduler/renderer/web_frame_scheduler_impl.h
|
| diff --git a/components/scheduler/renderer/web_frame_scheduler_impl.h b/components/scheduler/renderer/web_frame_scheduler_impl.h
|
| index 6d088f36572b18a42faa7f8a963c1d8b536b5663..c34a9bb2d2a5e4c382a6546b03841f076c81992b 100644
|
| --- a/components/scheduler/renderer/web_frame_scheduler_impl.h
|
| +++ b/components/scheduler/renderer/web_frame_scheduler_impl.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/trace_event/trace_event.h"
|
| #include "components/scheduler/base/task_queue.h"
|
| #include "components/scheduler/scheduler_export.h"
|
| #include "third_party/WebKit/public/platform/WebFrameScheduler.h"
|
| @@ -17,9 +18,14 @@ namespace base {
|
| class SingleThreadTaskRunner;
|
| } // namespace base
|
|
|
| +namespace blink {
|
| +class WebBlameContext;
|
| +}
|
| +
|
| namespace scheduler {
|
|
|
| class AutoAdvancingVirtualTimeDomain;
|
| +class FrameBlameContext;
|
| class RendererSchedulerImpl;
|
| class TaskQueue;
|
| class WebTaskRunnerImpl;
|
| @@ -28,7 +34,8 @@ class WebViewSchedulerImpl;
|
| class SCHEDULER_EXPORT WebFrameSchedulerImpl : public blink::WebFrameScheduler {
|
| public:
|
| WebFrameSchedulerImpl(RendererSchedulerImpl* renderer_scheduler,
|
| - WebViewSchedulerImpl* parent_web_view_scheduler);
|
| + WebViewSchedulerImpl* parent_web_view_scheduler,
|
| + blink::WebBlameContext* blame_context);
|
|
|
| ~WebFrameSchedulerImpl() override;
|
|
|
| @@ -57,6 +64,7 @@ class SCHEDULER_EXPORT WebFrameSchedulerImpl : public blink::WebFrameScheduler {
|
| blink::WebSecurityOrigin origin_;
|
| bool frame_visible_;
|
| bool page_visible_;
|
| + scoped_ptr<FrameBlameContext> blame_context_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl);
|
| };
|
|
|