Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index edd9dd5559b5c0bb0ceed9f414cd1a5b6ec6bc1c..ad7f4c01a4268651728ce71acba87c3ec0ac388e 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -8,6 +8,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <string> |
#include <vector> |
#include "base/callback.h" |
@@ -409,6 +410,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>; |