| Index: third_party/WebKit/public/platform/WebRTCStats.h
|
| diff --git a/third_party/WebKit/public/platform/WebRTCStats.h b/third_party/WebKit/public/platform/WebRTCStats.h
|
| index 6983906dee291786ca6483fb05964401f63a415f..2118e1f156026c4fe789874a1fcfe5b82ede9451 100644
|
| --- a/third_party/WebKit/public/platform/WebRTCStats.h
|
| +++ b/third_party/WebKit/public/platform/WebRTCStats.h
|
| @@ -60,6 +60,7 @@ public:
|
|
|
| virtual WebString name() const = 0;
|
| virtual WebRTCStatsMemberType type() const = 0;
|
| + virtual bool isDefined() const = 0;
|
|
|
| // Value getters. No conversion is performed; the function must match the member's |type|.
|
| virtual int32_t valueInt32() const = 0;
|
| @@ -76,6 +77,13 @@ public:
|
| virtual WebVector<WebString> valueSequenceString() const = 0;
|
| };
|
|
|
| +class WebRTCStatsReportCallback {
|
| +public:
|
| + virtual ~WebRTCStatsReportCallback() {}
|
| +
|
| + virtual void OnStatsDelivered(std::unique_ptr<WebRTCStatsReport>) = 0;
|
| +};
|
| +
|
| } // namespace blink
|
|
|
| #endif // WebRTCStats_h
|
|
|