DescriptionRTCStatsReport: Take ownership of other's stats with TakeMembersFrom
This would make it possible to gather stats on multiple threads, store
the results in multiple reports and to merge the results.
Added rtcstatsreport_unittest.cc, moving a RTCStatsReport-related test
from rtcstats_unittest.cc. Added more unittests covering the order of
stats and TakeMembersFrom.
Also changed RTCStatsReport[] to RTCStatsReport::Get to avoid
confusion with other usages of the [] operator.
BUG=chromium:627816
NOTRY=True
Committed: https://crrev.com/6d183ac27a6755497e35f197b8aaf41d6319aeaf
Cr-Commit-Position: refs/heads/master@{#13957}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed comments #
Total comments: 3
Patch Set 3 : Added comment #
Messages
Total messages: 22 (10 generated)
|