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

Unified Diff: third_party/WebKit/public/platform/WebRTCStatsResponse.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
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCStats.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebRTCStatsResponse.h
diff --git a/third_party/WebKit/public/platform/WebRTCStatsResponse.h b/third_party/WebKit/public/platform/WebRTCStatsResponse.h
index 24e5429de7916c8ace3061e7a72191d42b93b0c1..952fdf57af1542c14d9b3fb3269de216ce99fb15 100644
--- a/third_party/WebKit/public/platform/WebRTCStatsResponse.h
+++ b/third_party/WebKit/public/platform/WebRTCStatsResponse.h
@@ -27,6 +27,7 @@
#include "WebCommon.h"
#include "WebPrivatePtr.h"
+#include "WebRTCStats.h"
#include "WebString.h"
namespace blink {
@@ -44,13 +45,10 @@ public:
assign(other);
return *this;
}
-
BLINK_PLATFORM_EXPORT void assign(const WebRTCStatsResponse&);
-
BLINK_PLATFORM_EXPORT void reset();
- BLINK_PLATFORM_EXPORT size_t addReport(const WebString& id, const WebString& type, double timestamp);
- BLINK_PLATFORM_EXPORT void addStatistic(size_t report, const WebString& name, const WebString& value);
+ BLINK_PLATFORM_EXPORT void addStats(const WebRTCStats&);
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT WebRTCStatsResponse(RTCStatsResponseBase*);
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCStats.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698