Index: chrome/renderer/media/cast_rtp_stream.h |
diff --git a/chrome/renderer/media/cast_rtp_stream.h b/chrome/renderer/media/cast_rtp_stream.h |
index 9238e404da1996bd345d7e0e35ca326174b23d04..a974c277f9578f6705c56b2b7b54c015c28f22b4 100644 |
--- a/chrome/renderer/media/cast_rtp_stream.h |
+++ b/chrome/renderer/media/cast_rtp_stream.h |
@@ -15,6 +15,10 @@ |
#include "base/memory/weak_ptr.h" |
#include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
+namespace base { |
+class DictionaryValue; |
+} |
+ |
class CastAudioSink; |
class CastSession; |
class CastVideoSink; |
@@ -125,6 +129,11 @@ class CastRtpStream { |
void GetRawEvents( |
const base::Callback<void(scoped_ptr<std::string>)>& callback); |
+ // Get stats in DictionaryValue format and invokves |callback| with |
+ // the result. |
+ void GetStats(const base::Callback<void( |
+ scoped_ptr<base::DictionaryValue>)>& callback); |
+ |
private: |
// Return true if this track is an audio track. Return false if this |
// track is a video track. |