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

Unified Diff: webrtc/api/stats/rtcstatsreport.h

Issue 2983243002: Make RTCStatsReport::ToString() return JSON-parseable string. (Closed)
Patch Set: Add test. Created 3 years, 5 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: webrtc/api/stats/rtcstatsreport.h
diff --git a/webrtc/api/stats/rtcstatsreport.h b/webrtc/api/stats/rtcstatsreport.h
index 0ad7396121f8bd3252624b6da652349ce5568f2d..c20d5e4c08af8e355be68720b93c0506e351ea13 100644
--- a/webrtc/api/stats/rtcstatsreport.h
+++ b/webrtc/api/stats/rtcstatsreport.h
@@ -81,8 +81,8 @@ class RTCStatsReport : public rtc::RefCountInterface {
return stats_of_type;
}
- // Creates a human readable string representation of the report, listing all
- // of its stats objects.
+ // Creates a human (and JSON) readable string representation of the report,
+ // listing all of its stats objects.
std::string ToString() const;
hbos 2017/07/25 12:29:21 ToJson()
friend class rtc::RefCountedObject<RTCStatsReport>;

Powered by Google App Engine
This is Rietveld 408576698