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

Unified Diff: third_party/WebKit/Source/platform/peerconnection/RTCStatsResponseBase.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/platform/peerconnection/RTCStatsResponseBase.h
diff --git a/third_party/WebKit/Source/platform/peerconnection/RTCStatsResponseBase.h b/third_party/WebKit/Source/platform/peerconnection/RTCStatsResponseBase.h
index 2c7068c0299320069e5abff9bf57061c401b61c5..09a79891c630800bad0f3ff92337c12ac0ae5587 100644
--- a/third_party/WebKit/Source/platform/peerconnection/RTCStatsResponseBase.h
+++ b/third_party/WebKit/Source/platform/peerconnection/RTCStatsResponseBase.h
@@ -25,6 +25,7 @@
#ifndef RTCStatsResponseBase_h
#define RTCStatsResponseBase_h
+#include "public/platform/WebRTCStats.h"
#include "wtf/Forward.h"
namespace blink {
@@ -33,8 +34,7 @@ class RTCStatsResponseBase : public GarbageCollectedFinalized<RTCStatsResponseBa
public:
virtual ~RTCStatsResponseBase() { }
- virtual size_t addReport(const String& id, const String& type, double timestamp) = 0;
- virtual void addStatistic(size_t report, const String& name, const String& value) = 0;
+ virtual void addStats(const WebRTCStats&) = 0;
DEFINE_INLINE_VIRTUAL_TRACE() { }
};
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebRTCStatsResponse.cpp ('k') | third_party/WebKit/public/blink_headers.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698