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

Unified Diff: webrtc/api/stats/rtcstats.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
« no previous file with comments | « no previous file | webrtc/api/stats/rtcstatsreport.h » ('j') | webrtc/api/stats/rtcstatsreport.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/stats/rtcstats.h
diff --git a/webrtc/api/stats/rtcstats.h b/webrtc/api/stats/rtcstats.h
index 6730672012abd919b088d0a7bbf6341d4c50796c..c12ca916bbcc10247f1fc75c86b7831b6575997f 100644
--- a/webrtc/api/stats/rtcstats.h
+++ b/webrtc/api/stats/rtcstats.h
@@ -72,8 +72,8 @@ class RTCStats {
bool operator==(const RTCStats& other) const;
bool operator!=(const RTCStats& other) const;
- // Creates a human readable string representation of the stats object, listing
- // all of its members (names and values).
+ // Creates a human (and JSON) readable string representation of the stats
+ // object, listing all of its members (names and values).
std::string ToString() const;
hbos 2017/07/25 12:29:21 Let's rename it ToJson().
// Downcasts the stats object to an |RTCStats| subclass |T|. DCHECKs that the
« no previous file with comments | « no previous file | webrtc/api/stats/rtcstatsreport.h » ('j') | webrtc/api/stats/rtcstatsreport.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698