Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index 67f14177693c3e9ce799f10364bcc6fe495a34e4..8e69877a03fa8699483ab4857dfd299c76999548 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" |
@@ -405,6 +406,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>; |