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

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: code review changes Created 4 years, 4 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 9bb79fd056a9651221652435bc2ca29103973661..42a3f953a294c4a2e9d6828e65a98a437a5c4161 100644
--- a/media/blink/video_frame_compositor.h
+++ b/media/blink/video_frame_compositor.h
@@ -14,6 +14,7 @@
#include "base/synchronization/lock.h"
#include "base/time/tick_clock.h"
#include "base/timer/timer.h"
+#include "base/trace_event/video_playback_pae.h"
#include "cc/layers/video_frame_provider.h"
#include "media/base/video_renderer_sink.h"
#include "media/blink/media_blink_export.h"
@@ -160,6 +161,10 @@ class MEDIA_BLINK_EXPORT VideoFrameCompositor
base::Lock callback_lock_;
VideoRendererSink::RenderCallback* callback_;
+ // Persistent async event
benjhayden 2016/08/31 03:12:53 Please remove content-free comments.
alexandermont 2016/08/31 18:31:59 Done
+ std::unique_ptr<base::trace_event::VideoPlaybackPersistentAsyncEvent>
+ persistent_async_;
+
DISALLOW_COPY_AND_ASSIGN(VideoFrameCompositor);
};

Powered by Google App Engine
This is Rietveld 408576698