Chromium Code Reviews| Index: media/blink/video_frame_compositor.h |
| diff --git a/media/blink/video_frame_compositor.h b/media/blink/video_frame_compositor.h |
| index 68a4d79fe173a3798a93ecf915a6ead03e70fad3..0ec3ac50a94867871b0ec1729d6cef4dcf6776dc 100644 |
| --- a/media/blink/video_frame_compositor.h |
| +++ b/media/blink/video_frame_compositor.h |
| @@ -6,6 +6,7 @@ |
| #define MEDIA_BLINK_VIDEO_FRAME_COMPOSITOR_H_ |
| #include <utility> |
| +#include <string> |
| #include "base/callback.h" |
| #include "base/macros.h" |
| @@ -18,6 +19,7 @@ |
| #include "media/base/video_renderer_sink.h" |
| #include "media/blink/media_blink_export.h" |
| #include "ui/gfx/geometry/size.h" |
| +#include "base/trace_event/vfc_persistent_async_event.h" |
| namespace media { |
| class VideoFrame; |
| @@ -133,6 +135,10 @@ class MEDIA_BLINK_EXPORT VideoFrameCompositor |
| scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
| std::unique_ptr<base::TickClock> tick_clock_; |
| + // Persistent async event |
|
benjhayden
2016/08/10 18:30:00
You can remove this comment since it adds no infor
|
| + base::trace_event::VFCPersistentAsyncEvent* persistent_async_ = nullptr; |
| + std::string video_id_; |
| + |
| // Allows tests to disable the background rendering task. |
| bool background_rendering_enabled_; |