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

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: Addressed tommi's comments 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 8f30b825266082941a1f22553fa120b592a64050..6a43225fc34664731ad5a9b7f08979ce4edf85a1 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<RTCLegacyStatsReport>>& result() const { return m_result; }
-
RTCLegacyStatsReport* 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