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

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

Issue 2983243002: Make RTCStatsReport::ToString() return JSON-parseable string. (Closed)
Patch Set: Display Int64 values as doubles. 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..3efe6c9510678cb7f5d314fc9c17efbf9265907a 100644
--- a/webrtc/api/stats/rtcstatsreport.h
+++ b/webrtc/api/stats/rtcstatsreport.h
@@ -81,9 +81,9 @@ class RTCStatsReport : public rtc::RefCountInterface {
return stats_of_type;
}
- // Creates a human readable string representation of the report, listing all
- // of its stats objects.
- std::string ToString() const;
+ // Creates a JSON readable string representation of the report,
+ // listing all of its stats objects.
+ std::string ToJson() const;
friend class rtc::RefCountedObject<RTCStatsReport>;
« no previous file with comments | « webrtc/api/stats/rtcstats.h ('k') | webrtc/stats/BUILD.gn » ('j') | webrtc/stats/rtcstats.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698