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

Unified Diff: media/blink/video_frame_compositor.h

Issue 2159323002: Add tracing AutoOpenCloseEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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 side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698