Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index a6ff33a4b023d55275babeafe4685b0d06c5ee82..fc11b42495117af278170452b6cebd18d1d0eb34 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -5,6 +5,7 @@ |
#ifndef MEDIA_BASE_VIDEO_FRAME_H_ |
#define MEDIA_BASE_VIDEO_FRAME_H_ |
+#include <string> |
#include <vector> |
#include "base/callback.h" |
@@ -404,6 +405,9 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
// This method is thread safe. Both blink and compositor threads can call it. |
void UpdateReleaseSyncToken(SyncTokenClient* client); |
+ // Returns a human-readable string describing |*this|. |
+ std::string AsHumanReadableString(); |
+ |
private: |
friend class base::RefCountedThreadSafe<VideoFrame>; |