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

Unified Diff: media/base/video_frame.h

Issue 1536783003: Improve logging output for DecoderBuffer and VideoFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/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>;

Powered by Google App Engine
This is Rietveld 408576698