Index: media/base/decoder_buffer.h |
diff --git a/media/base/decoder_buffer.h b/media/base/decoder_buffer.h |
index 9010eaa3172d655d59625d67728a4ccb272216ae..25a1ed3dee3a4afc1e694cb9d4c42804af005dbd 100644 |
--- a/media/base/decoder_buffer.h |
+++ b/media/base/decoder_buffer.h |
@@ -175,6 +175,9 @@ class MEDIA_EXPORT DecoderBuffer |
// Returns a human-readable string describing |*this|. |
std::string AsHumanReadableString(); |
+ // Returns a shorter version of the above. |
+ std::string AsShortString(); |
xhwang
2016/02/01 19:30:55
How about just add a "bool verbose" parameter in A
Tima Vaisburd
2016/02/04 22:59:12
Added a flag instead. AsHumanReadableString(true)
|
+ |
// Replaces any existing side data with data copied from |side_data|. |
void CopySideDataFrom(const uint8_t* side_data, size_t side_data_size); |