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

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: less output (+rebase) 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 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>;

Powered by Google App Engine
This is Rietveld 408576698