Index: chrome/common/extensions/api/cast_streaming_rtp_stream.idl |
diff --git a/chrome/common/extensions/api/cast_streaming_rtp_stream.idl b/chrome/common/extensions/api/cast_streaming_rtp_stream.idl |
index e0e3e8016389c91805241e66ba6ed30fee5ac565..231c1aa695a171b553dec106fc1f77e66a25b29a 100644 |
--- a/chrome/common/extensions/api/cast_streaming_rtp_stream.idl |
+++ b/chrome/common/extensions/api/cast_streaming_rtp_stream.idl |
@@ -61,17 +61,18 @@ namespace cast.streaming.rtpStream { |
callback CreateCallback = void (long streamId); |
// Callback from the <code>getRawEvents</code> method. |
- // |rawEvents|: serialized raw bytes containing raw events recorded for |
- // a stream. |
+ // |rawEvents|: compressed serialized raw bytes containing raw events |
+ // recorded for a stream. |
+ // The compression is in gzip format. |
// The serialization format can be found at |
// media/cast/logging/log_serializer.cc. |
callback GetRawEventsCallback = void (DOMString rawEvents); |
// Callback from the <code>getStats</code> method. |
- // |rawEvents|: serialized raw bytes containing stats recorded for a stream. |
- // The serialization format can be found at |
- // media/cast/logging/log_serializer.cc. |
- callback GetStatsCallback = void (DOMString stats); |
+ // |rawEvents|: dictionary object containing stats recorded for a stream. |
+ // The format can be found at |
+ // media/cast/logging/stats_converter.cc. |
+ callback GetStatsCallback = void (object stats); |
interface Functions { |
// Destroys a Cast RTP stream. |
@@ -99,13 +100,13 @@ namespace cast.streaming.rtpStream { |
// Get raw events for a stream in the current session. |
// |streamId|: Stream to get events for. |
- // |callback|: Called with the raw events Blob. |
+ // |callback|: Called with the raw events. |
[nocompile] static void getRawEvents( |
long streamId, GetRawEventsCallback callback); |
// Get stats for a stream in the current session. |
// |streamId|: Stream to get stats for. |
- // |callback|: Called with the stats Blob. |
+ // |callback|: Called with the stats. |
[nocompile] static void getStats( |
long streamId, GetStatsCallback callback); |
}; |