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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.h

Issue 2186853002: WebRTCStats added, retaining type info when surfacing WebRTC stats into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated peerconnection.js (re-running trybots can wait, will need to rebase with master) Created 4 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: third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.h b/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.h
index f70036180e26cb459627d269283e4f7c1a1c71b2..cd58d49d403d3f51a6b15ebbc3f2ad0bf49b93fa 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.h
@@ -41,11 +41,9 @@ public:
static RTCStatsResponse* create();
const HeapVector<Member<RTCStatsReport>>& result() const { return m_result; }
-
RTCStatsReport* namedItem(const AtomicString& name);
- size_t addReport(const String& id, const String& type, double timestamp) override;
- void addStatistic(size_t report, const String& name, const String& value) override;
+ void addStats(const WebRTCStats&) override;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698