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

Unified Diff: chrome/renderer/media/cast_rtp_stream.h

Issue 184853003: Cast: Add GetStats() extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 months 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: 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..946683ce5a482555fb28d3522c1b0d8d00d97109 100644
--- a/chrome/renderer/media/cast_rtp_stream.h
+++ b/chrome/renderer/media/cast_rtp_stream.h
@@ -125,6 +125,9 @@ class CastRtpStream {
void GetRawEvents(
const base::Callback<void(scoped_ptr<std::string>)>& callback);
+ // Get stats in JSON string and invokves |callback| with the result.
+ void GetStats(const base::Callback<void(scoped_ptr<std::string>)>& callback);
+
private:
// Return true if this track is an audio track. Return false if this
// track is a video track.

Powered by Google App Engine
This is Rietveld 408576698