<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[212329] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/212329">212329</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2017-02-14 15:17:08 -0800 (Tue, 14 Feb 2017)</dd>
</dl>

<h3>Log Message</h3>
<pre>[WebRTC] Remove obsolete WebRTC stats API
https://bugs.webkit.org/show_bug.cgi?id=167910

Patch by Youenn Fablet &lt;youenn@apple.com&gt; on 2017-02-14
Reviewed by Alex Christensen.

No change of behavior as removed constructs are not functional.
Removing RTCStatsResponse which no longer exists and made RTCStatsReport an empty container for now.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* Modules/mediastream/MediaEndpointPeerConnection.cpp:
(WebCore::MediaEndpointPeerConnection::getStats):
* Modules/mediastream/MediaEndpointPeerConnection.h:
* Modules/mediastream/PeerConnectionBackend.h:
* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::getStats):
* Modules/mediastream/RTCStatsReport.cpp:
(WebCore::RTCStatsReport::create): Deleted.
(WebCore::RTCStatsReport::RTCStatsReport): Deleted.
(WebCore::RTCStatsReport::names): Deleted.
(WebCore::RTCStatsReport::local): Deleted.
(WebCore::RTCStatsReport::remote): Deleted.
(WebCore::RTCStatsReport::addStatistic): Deleted.
* Modules/mediastream/RTCStatsReport.h:
(WebCore::RTCStatsReport::create):
(WebCore::RTCStatsReport::timestamp): Deleted.
(WebCore::RTCStatsReport::id): Deleted.
(WebCore::RTCStatsReport::type): Deleted.
(WebCore::RTCStatsReport::stat): Deleted.
* Modules/mediastream/RTCStatsReport.idl:
* Modules/mediastream/RTCStatsResponse.cpp: Removed.
* Modules/mediastream/RTCStatsResponse.h: Removed.
* Modules/mediastream/RTCStatsResponse.idl: Removed.
* WebCore.xcodeproj/project.pbxproj:
* platform/mediastream/MediaEndpoint.h:
(WebCore::MediaEndpoint::getStats):
* platform/mediastream/RTCStatsRequest.h: Removed.
* platform/mediastream/RTCStatsResponseBase.h: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcescpp">trunk/Source/WebCore/DerivedSources.cpp</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaEndpointPeerConnectioncpp">trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaEndpointPeerConnectionh">trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamPeerConnectionBackendh">trunk/Source/WebCore/Modules/mediastream/PeerConnectionBackend.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCStatsReportcpp">trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCStatsReporth">trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCStatsReportidl">trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamlibwebrtcLibWebRTCMediaEndpointcpp">trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamlibwebrtcLibWebRTCPeerConnectionBackendcpp">trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamlibwebrtcLibWebRTCPeerConnectionBackendh">trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoreplatformmediastreamMediaEndpointh">trunk/Source/WebCore/platform/mediastream/MediaEndpoint.h</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCStatsResponsecpp">trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCStatsResponseh">trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCStatsResponseidl">trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.idl</a></li>
<li><a href="#trunkSourceWebCoreplatformmediastreamRTCStatsRequesth">trunk/Source/WebCore/platform/mediastream/RTCStatsRequest.h</a></li>
<li><a href="#trunkSourceWebCoreplatformmediastreamRTCStatsResponseBaseh">trunk/Source/WebCore/platform/mediastream/RTCStatsResponseBase.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/CMakeLists.txt        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -238,7 +238,6 @@
</span><span class="cx">     Modules/mediastream/RTCRtpTransceiver.idl
</span><span class="cx">     Modules/mediastream/RTCSessionDescription.idl
</span><span class="cx">     Modules/mediastream/RTCStatsReport.idl
</span><del>-    Modules/mediastream/RTCStatsResponse.idl
</del><span class="cx">     Modules/mediastream/RTCTrackEvent.idl
</span><span class="cx"> 
</span><span class="cx">     Modules/navigatorcontentutils/NavigatorContentUtils.idl
</span><span class="lines">@@ -923,7 +922,6 @@
</span><span class="cx">     Modules/mediastream/RTCRtpTransceiver.cpp
</span><span class="cx">     Modules/mediastream/RTCSessionDescription.cpp
</span><span class="cx">     Modules/mediastream/RTCStatsReport.cpp
</span><del>-    Modules/mediastream/RTCStatsResponse.cpp
</del><span class="cx">     Modules/mediastream/RTCTrackEvent.cpp
</span><span class="cx">     Modules/mediastream/SDPProcessor.cpp
</span><span class="cx">     Modules/mediastream/UserMediaController.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/ChangeLog        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -1,3 +1,45 @@
</span><ins>+2017-02-14  Youenn Fablet  &lt;youenn@apple.com&gt;
+
+        [WebRTC] Remove obsolete WebRTC stats API
+        https://bugs.webkit.org/show_bug.cgi?id=167910
+
+        Reviewed by Alex Christensen.
+
+        No change of behavior as removed constructs are not functional.
+        Removing RTCStatsResponse which no longer exists and made RTCStatsReport an empty container for now.
+
+        * CMakeLists.txt:
+        * DerivedSources.cpp:
+        * DerivedSources.make:
+        * Modules/mediastream/MediaEndpointPeerConnection.cpp:
+        (WebCore::MediaEndpointPeerConnection::getStats):
+        * Modules/mediastream/MediaEndpointPeerConnection.h:
+        * Modules/mediastream/PeerConnectionBackend.h:
+        * Modules/mediastream/RTCPeerConnection.cpp:
+        (WebCore::RTCPeerConnection::getStats):
+        * Modules/mediastream/RTCStatsReport.cpp:
+        (WebCore::RTCStatsReport::create): Deleted.
+        (WebCore::RTCStatsReport::RTCStatsReport): Deleted.
+        (WebCore::RTCStatsReport::names): Deleted.
+        (WebCore::RTCStatsReport::local): Deleted.
+        (WebCore::RTCStatsReport::remote): Deleted.
+        (WebCore::RTCStatsReport::addStatistic): Deleted.
+        * Modules/mediastream/RTCStatsReport.h:
+        (WebCore::RTCStatsReport::create):
+        (WebCore::RTCStatsReport::timestamp): Deleted.
+        (WebCore::RTCStatsReport::id): Deleted.
+        (WebCore::RTCStatsReport::type): Deleted.
+        (WebCore::RTCStatsReport::stat): Deleted.
+        * Modules/mediastream/RTCStatsReport.idl:
+        * Modules/mediastream/RTCStatsResponse.cpp: Removed.
+        * Modules/mediastream/RTCStatsResponse.h: Removed.
+        * Modules/mediastream/RTCStatsResponse.idl: Removed.
+        * WebCore.xcodeproj/project.pbxproj:
+        * platform/mediastream/MediaEndpoint.h:
+        (WebCore::MediaEndpoint::getStats):
+        * platform/mediastream/RTCStatsRequest.h: Removed.
+        * platform/mediastream/RTCStatsResponseBase.h: Removed.
+
</ins><span class="cx"> 2017-02-14  Karim H  &lt;karim@karhm.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Removed unused methods of WebCore::FileStream
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.cpp (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.cpp        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/DerivedSources.cpp        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -402,7 +402,6 @@
</span><span class="cx"> #include &quot;JSRTCRtpSender.cpp&quot;
</span><span class="cx"> #include &quot;JSRTCSessionDescription.cpp&quot;
</span><span class="cx"> #include &quot;JSRTCStatsReport.cpp&quot;
</span><del>-#include &quot;JSRTCStatsResponse.cpp&quot;
</del><span class="cx"> #include &quot;JSRTCTrackEvent.cpp&quot;
</span><span class="cx"> #include &quot;JSScreen.cpp&quot;
</span><span class="cx"> #include &quot;JSScriptProcessorNode.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/DerivedSources.make        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -179,7 +179,6 @@
</span><span class="cx">     $(WebCore)/Modules/mediastream/RTCRtpTransceiver.idl \
</span><span class="cx">     $(WebCore)/Modules/mediastream/RTCSessionDescription.idl \
</span><span class="cx">     $(WebCore)/Modules/mediastream/RTCStatsReport.idl \
</span><del>-    $(WebCore)/Modules/mediastream/RTCStatsResponse.idl \
</del><span class="cx">     $(WebCore)/Modules/mediastream/RTCTrackEvent.idl \
</span><span class="cx">     $(WebCore)/Modules/notifications/DOMWindowNotifications.idl \
</span><span class="cx">     $(WebCore)/Modules/notifications/Notification.idl \
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaEndpointPeerConnectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -666,11 +666,9 @@
</span><span class="cx">     addIceCandidateSucceeded();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void MediaEndpointPeerConnection::getStats(MediaStreamTrack*, Ref&lt;DeferredPromise&gt;&amp;&amp; promise)
</del><ins>+void MediaEndpointPeerConnection::getStats(MediaStreamTrack* track, Ref&lt;DeferredPromise&gt;&amp;&amp; promise)
</ins><span class="cx"> {
</span><del>-    notImplemented();
-
-    promise-&gt;reject(NOT_SUPPORTED_ERR);
</del><ins>+    m_mediaEndpoint-&gt;getStats(track, WTFMove(promise));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> Vector&lt;RefPtr&lt;MediaStream&gt;&gt; MediaEndpointPeerConnection::getRemoteStreams() const
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaEndpointPeerConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> 
</span><span class="cx"> class MediaEndpointPeerConnection final : public PeerConnectionBackend, public MediaEndpointClient {
</span><span class="cx"> public:
</span><del>-    explicit MediaEndpointPeerConnection(RTCPeerConnection&amp;);
</del><ins>+    WEBCORE_EXPORT explicit MediaEndpointPeerConnection(RTCPeerConnection&amp;);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     RefPtr&lt;RTCSessionDescription&gt; localDescription() const final;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamPeerConnectionBackendh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/PeerConnectionBackend.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/PeerConnectionBackend.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/PeerConnectionBackend.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> class RTCRtpReceiver;
</span><span class="cx"> class RTCRtpSender;
</span><span class="cx"> class RTCSessionDescription;
</span><del>-class RTCStatsResponse;
</del><ins>+class RTCStatsReport;
</ins><span class="cx"> 
</span><span class="cx"> struct MediaEndpointConfiguration;
</span><span class="cx"> struct RTCAnswerOptions;
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> 
</span><span class="cx"> namespace PeerConnection {
</span><span class="cx"> using SessionDescriptionPromise = DOMPromise&lt;IDLInterface&lt;RTCSessionDescription&gt;&gt;;
</span><del>-using StatsPromise = DOMPromise&lt;IDLInterface&lt;RTCStatsResponse&gt;&gt;;
</del><ins>+using StatsPromise = DOMPromise&lt;IDLInterface&lt;RTCStatsReport&gt;&gt;;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> using CreatePeerConnectionBackend = std::unique_ptr&lt;PeerConnectionBackend&gt; (*)(RTCPeerConnection&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCStatsReportcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.cpp (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.cpp        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.cpp        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -24,50 +24,12 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><ins>+#include &quot;RTCStatsReport.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(WEB_RTC)
</span><span class="cx"> 
</span><del>-#include &quot;RTCStatsReport.h&quot;
-
-#include &lt;wtf/text/StringHash.h&gt;
-
</del><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-Ref&lt;RTCStatsReport&gt; RTCStatsReport::create(const String&amp; id, const String&amp; type, double timestamp)
-{
-    return adoptRef(*new RTCStatsReport(id, type, timestamp));
-}
-
-RTCStatsReport::RTCStatsReport(const String&amp; id, const String&amp; type, double timestamp)
-    : m_id(id)
-    , m_type(type)
-    , m_timestamp(timestamp)
-{
-}
-
-Vector&lt;String&gt; RTCStatsReport::names() const
-{
-    Vector&lt;String&gt; result;
-    for (auto&amp; stat : m_stats.keys())
-        result.append(stat);
-    return result;
-}
-
-RTCStatsReport&amp; RTCStatsReport::local()
-{
-    return *this;
-}
-
-RTCStatsReport&amp; RTCStatsReport::remote()
-{
-    return *this;
-}
-
-void RTCStatsReport::addStatistic(const String&amp; name, const String&amp; value)
-{
-    m_stats.add(name, value);
-}
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(WEB_RTC)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCStatsReporth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -24,38 +24,17 @@
</span><span class="cx"> 
</span><span class="cx"> #pragma once
</span><span class="cx"> 
</span><del>-#include &quot;ScriptWrappable.h&quot;
-#include &lt;wtf/HashMap.h&gt;
</del><ins>+#include &lt;wtf/Ref.h&gt;
</ins><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><del>-#include &lt;wtf/Vector.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-class RTCStatsReport : public RefCounted&lt;RTCStatsReport&gt;, public ScriptWrappable {
</del><ins>+class RTCStatsReport : public RefCounted&lt;RTCStatsReport&gt; {
</ins><span class="cx"> public:
</span><del>-    static Ref&lt;RTCStatsReport&gt; create(const String&amp; id, const String&amp; type, double timestamp);
</del><ins>+    static Ref&lt;RTCStatsReport&gt; create() { return adoptRef(*new RTCStatsReport); }
</ins><span class="cx"> 
</span><del>-    double timestamp() const { return m_timestamp; }
-    String id() { return m_id; }
-    String type() { return m_type; }
-    String stat(const String&amp; name) { return m_stats.get(name); }
-    Vector&lt;String&gt; names() const;
-
-    // DEPRECATED
-    RTCStatsReport&amp; local();
-    // DEPRECATED
-    RTCStatsReport&amp; remote();
-
-    void addStatistic(const String&amp; name, const String&amp; value);
-
</del><span class="cx"> private:
</span><del>-    RTCStatsReport(const String&amp; id, const String&amp; type, double timestamp);
-
-    String m_id;
-    String m_type;
-    double m_timestamp;
-    HashMap&lt;String, String&gt; m_stats;
</del><ins>+    RTCStatsReport() = default;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCStatsReportidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.idl (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.idl        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsReport.idl        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -27,13 +27,6 @@
</span><span class="cx">     Conditional=WEB_RTC,
</span><span class="cx">     ImplementationLacksVTable,
</span><span class="cx"> ] interface RTCStatsReport {
</span><del>-    readonly attribute Date timestamp;
-    readonly attribute DOMString id;
-    readonly attribute DOMString type;
-    DOMString stat(DOMString name);
-    sequence&lt;DOMString&gt; names();
-
-    // DEPRECATED - fake for old RTCStatsElement object.
-    readonly attribute RTCStatsReport local;
-    readonly attribute RTCStatsReport remote;
</del><ins>+    // FIXME: Make it setlike
+    //readonly maplike&lt;DOMString, object&gt;;
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCStatsResponsecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.cpp (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.cpp        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.cpp        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -1,71 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-
-#if ENABLE(WEB_RTC)
-
-#include &quot;RTCStatsResponse.h&quot;
-#include &lt;wtf/text/StringHash.h&gt;
-
-namespace WebCore {
-
-Ref&lt;RTCStatsResponse&gt; RTCStatsResponse::create()
-{
-    return adoptRef(*new RTCStatsResponse());
-}
-
-RTCStatsResponse::RTCStatsResponse()
-{
-}
-
-RefPtr&lt;RTCStatsReport&gt; RTCStatsResponse::namedItem(const AtomicString&amp; name)
-{
-    if (m_idmap.find(name) != m_idmap.end())
-        return m_result[m_idmap.get(name)];
-    return nullptr;
-}
-
-Vector&lt;AtomicString&gt; WebCore::RTCStatsResponse::supportedPropertyNames()
-{
-    // FIXME: Should be implemented.
-    return Vector&lt;AtomicString&gt;();
-}
-
-size_t RTCStatsResponse::addReport(String id, String type, double timestamp)
-{
-    m_result.append(RTCStatsReport::create(id, type, timestamp));
-    m_idmap.add(id, m_result.size() - 1);
-    return m_result.size() - 1;
-}
-
-void RTCStatsResponse::addStatistic(size_t report, String name, String value)
-{
-    ASSERT_WITH_SECURITY_IMPLICATION(report &lt; m_result.size());
-    m_result[report]-&gt;addStatistic(name, value);
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(WEB_RTC)
</del></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCStatsResponseh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#pragma once
-
-#include &quot;ActiveDOMObject.h&quot;
-#include &quot;DOMError.h&quot;
-#include &quot;DOMStringList.h&quot;
-#include &quot;Event.h&quot;
-#include &quot;EventListener.h&quot;
-#include &quot;EventTarget.h&quot;
-#include &quot;MediaStreamTrack.h&quot;
-#include &quot;RTCStatsReport.h&quot;
-#include &quot;RTCStatsResponseBase.h&quot;
-#include &quot;ScriptWrappable.h&quot;
-#include &lt;wtf/HashMap.h&gt;
-
-namespace WebCore {
-
-class RTCStatsResponse : public RTCStatsResponseBase, public ScriptWrappable {
-public:
-    static Ref&lt;RTCStatsResponse&gt; create();
-
-    const Vector&lt;RefPtr&lt;RTCStatsReport&gt;&gt;&amp; result() const { return m_result; };
-
-    RefPtr&lt;RTCStatsReport&gt; namedItem(const AtomicString&amp;);
-    Vector&lt;AtomicString&gt; supportedPropertyNames();
-
-    size_t addReport(String id, String type, double timestamp) override;
-    void addStatistic(size_t report, String name, String value) override;
-
-private:
-    RTCStatsResponse();
-    Vector&lt;RefPtr&lt;RTCStatsReport&gt;&gt; m_result;
-    HashMap&lt;String, int&gt; m_idmap;
-};
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCStatsResponseidl"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.idl (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.idl        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/RTCStatsResponse.idl        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-[
-    NoInterfaceObject,
-    Conditional=WEB_RTC,
-] interface RTCStatsResponse {
-    sequence&lt;RTCStatsReport&gt; result();
-    getter RTCStatsReport? namedItem(DOMString name);
-};
</del></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamlibwebrtcLibWebRTCMediaEndpointcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -236,7 +236,7 @@
</span><span class="cx">         // FIXME: Fulfill promise with the report
</span><span class="cx">         UNUSED_PARAM(report);
</span><span class="cx"> 
</span><del>-        protectedThis-&gt;m_endpoint.m_peerConnectionBackend.iceCandidateFailed(protectedThis-&gt;m_promise, Exception { TypeError, ASCIILiteral(&quot;Stats API is not yet implemented&quot;) });
</del><ins>+        protectedThis-&gt;m_endpoint.m_peerConnectionBackend.getStatsFailed(protectedThis-&gt;m_promise, Exception { TypeError, ASCIILiteral(&quot;Stats API is not yet implemented&quot;) });
</ins><span class="cx">     });
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamlibwebrtcLibWebRTCPeerConnectionBackendcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;IceCandidate.h&quot;
</span><del>-#include &quot;JSRTCStatsResponse.h&quot;
</del><ins>+#include &quot;JSRTCStatsReport.h&quot;
</ins><span class="cx"> #include &quot;LibWebRTCDataChannelHandler.h&quot;
</span><span class="cx"> #include &quot;LibWebRTCMediaEndpoint.h&quot;
</span><span class="cx"> #include &quot;MediaEndpointConfiguration.h&quot;
</span><span class="lines">@@ -106,14 +106,14 @@
</span><span class="cx">     m_endpoint-&gt;getStats(track, statsPromise);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void LibWebRTCPeerConnectionBackend::iceCandidateSucceeded(const DeferredPromise&amp; promise, Ref&lt;RTCStatsResponse&gt;&amp;&amp; response)
</del><ins>+void LibWebRTCPeerConnectionBackend::getStatsSucceeded(const DeferredPromise&amp; promise, Ref&lt;RTCStatsReport&gt;&amp;&amp; report)
</ins><span class="cx"> {
</span><span class="cx">     auto statsPromise = m_statsPromises.take(&amp;promise);
</span><span class="cx">     ASSERT(statsPromise);
</span><del>-    statsPromise.value()-&gt;resolve&lt;IDLInterface&lt;RTCStatsResponse&gt;&gt;(WTFMove(response));
</del><ins>+    statsPromise.value()-&gt;resolve&lt;IDLInterface&lt;RTCStatsReport&gt;&gt;(WTFMove(report));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void LibWebRTCPeerConnectionBackend::iceCandidateFailed(const DeferredPromise&amp; promise, Exception&amp;&amp; exception)
</del><ins>+void LibWebRTCPeerConnectionBackend::getStatsFailed(const DeferredPromise&amp; promise, Exception&amp;&amp; exception)
</ins><span class="cx"> {
</span><span class="cx">     auto statsPromise = m_statsPromises.take(&amp;promise);
</span><span class="cx">     ASSERT(statsPromise);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamlibwebrtcLibWebRTCPeerConnectionBackendh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> class LibWebRTCMediaEndpoint;
</span><span class="cx"> class RTCRtpReceiver;
</span><span class="cx"> class RTCSessionDescription;
</span><ins>+class RTCstatsReport;
</ins><span class="cx"> class RealtimeOutgoingAudioSource;
</span><span class="cx"> class RealtimeOutgoingVideoSource;
</span><span class="cx"> 
</span><span class="lines">@@ -80,8 +81,8 @@
</span><span class="cx">     void addAudioSource(Ref&lt;RealtimeOutgoingAudioSource&gt;&amp;&amp;);
</span><span class="cx">     void addVideoSource(Ref&lt;RealtimeOutgoingVideoSource&gt;&amp;&amp;);
</span><span class="cx"> 
</span><del>-    void iceCandidateSucceeded(const DeferredPromise&amp;, Ref&lt;RTCStatsResponse&gt;&amp;&amp;);
-    void iceCandidateFailed(const DeferredPromise&amp;, Exception&amp;&amp;);
</del><ins>+    void getStatsSucceeded(const DeferredPromise&amp;, Ref&lt;RTCStatsReport&gt;&amp;&amp;);
+    void getStatsFailed(const DeferredPromise&amp;, Exception&amp;&amp;);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     Ref&lt;LibWebRTCMediaEndpoint&gt; m_endpoint;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -194,7 +194,6 @@
</span><span class="cx">                 078E090B17D14CEE00420AA1 /* RTCPeerConnection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07221B7717CEC32700848E51 /* RTCPeerConnection.cpp */; };
</span><span class="cx">                 078E090C17D14CEE00420AA1 /* RTCSessionDescription.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07221B7A17CEC32700848E51 /* RTCSessionDescription.cpp */; };
</span><span class="cx">                 078E090E17D14CEE00420AA1 /* RTCStatsReport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07221B8317CEC32700848E51 /* RTCStatsReport.cpp */; };
</span><del>-                078E091017D14CEE00420AA1 /* RTCStatsResponse.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07221B8817CEC32700848E51 /* RTCStatsResponse.cpp */; };
</del><span class="cx">                 078E091217D14CEE00420AA1 /* UserMediaController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07221B8E17CEC32700848E51 /* UserMediaController.cpp */; };
</span><span class="cx">                 078E091317D14CEE00420AA1 /* UserMediaRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07221B9017CEC32700848E51 /* UserMediaRequest.cpp */; };
</span><span class="cx">                 078E091417D14D1C00420AA1 /* MediaConstraintsImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B4B17CEC32700848E51 /* MediaConstraintsImpl.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -212,7 +211,6 @@
</span><span class="cx">                 078E092517D14D1C00420AA1 /* RTCPeerConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B7817CEC32700848E51 /* RTCPeerConnection.h */; };
</span><span class="cx">                 078E092617D14D1C00420AA1 /* RTCSessionDescription.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B7B17CEC32700848E51 /* RTCSessionDescription.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 078E092A17D14D1C00420AA1 /* RTCStatsReport.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B8417CEC32700848E51 /* RTCStatsReport.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                078E092C17D14D1C00420AA1 /* RTCStatsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B8917CEC32700848E51 /* RTCStatsResponse.h */; };
</del><span class="cx">                 078E092E17D14D1C00420AA1 /* UserMediaClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B8D17CEC32700848E51 /* UserMediaClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 078E092F17D14D1C00420AA1 /* UserMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B8F17CEC32700848E51 /* UserMediaController.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 078E093017D14D1C00420AA1 /* UserMediaRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221B9117CEC32700848E51 /* UserMediaRequest.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -226,8 +224,6 @@
</span><span class="cx">                 078E094217D16E1C00420AA1 /* RTCPeerConnectionHandlerClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221BAA17CF0AD400848E51 /* RTCPeerConnectionHandlerClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 078E094317D16E1C00420AA1 /* RTCSessionDescriptionDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221BAC17CF0AD400848E51 /* RTCSessionDescriptionDescriptor.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 078E094417D16E1C00420AA1 /* RTCSessionDescriptionRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221BAD17CF0AD400848E51 /* RTCSessionDescriptionRequest.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                078E094517D16E1C00420AA1 /* RTCStatsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221BAE17CF0AD400848E51 /* RTCStatsRequest.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                078E094617D16E1C00420AA1 /* RTCStatsResponseBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221BAF17CF0AD400848E51 /* RTCStatsResponseBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
</del><span class="cx">                 078E094717D16E1C00420AA1 /* RTCVoidRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 07221BB017CF0AD400848E51 /* RTCVoidRequest.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 078E094B17D1709600420AA1 /* MediaStreamAudioDestinationNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 078E094817D1709600420AA1 /* MediaStreamAudioDestinationNode.cpp */; };
</span><span class="cx">                 078E094C17D1709600420AA1 /* MediaStreamAudioDestinationNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 078E094917D1709600420AA1 /* MediaStreamAudioDestinationNode.h */; };
</span><span class="lines">@@ -257,8 +253,6 @@
</span><span class="cx">                 07969DBC17D14151007FF842 /* JSRTCSessionDescription.h in Headers */ = {isa = PBXBuildFile; fileRef = 07969DA217D14151007FF842 /* JSRTCSessionDescription.h */; };
</span><span class="cx">                 07969DC117D14151007FF842 /* JSRTCStatsReport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07969DA717D14151007FF842 /* JSRTCStatsReport.cpp */; };
</span><span class="cx">                 07969DC217D14151007FF842 /* JSRTCStatsReport.h in Headers */ = {isa = PBXBuildFile; fileRef = 07969DA817D14151007FF842 /* JSRTCStatsReport.h */; };
</span><del>-                07969DC317D14151007FF842 /* JSRTCStatsResponse.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 07969DA917D14151007FF842 /* JSRTCStatsResponse.cpp */; };
-                07969DC417D14151007FF842 /* JSRTCStatsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 07969DAA17D14151007FF842 /* JSRTCStatsResponse.h */; };
</del><span class="cx">                 079D0868162F20E800DB8658 /* CaptionUserPreferences.h in Headers */ = {isa = PBXBuildFile; fileRef = 079D0867162F20E800DB8658 /* CaptionUserPreferences.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 079D086B162F21F900DB8658 /* CaptionUserPreferencesMediaAF.h in Headers */ = {isa = PBXBuildFile; fileRef = 079D0869162F21F900DB8658 /* CaptionUserPreferencesMediaAF.h */; };
</span><span class="cx">                 079D086C162F21F900DB8658 /* CaptionUserPreferencesMediaAF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 079D086A162F21F900DB8658 /* CaptionUserPreferencesMediaAF.cpp */; };
</span><span class="lines">@@ -7210,9 +7204,6 @@
</span><span class="cx">                 07221B8317CEC32700848E51 /* RTCStatsReport.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RTCStatsReport.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07221B8417CEC32700848E51 /* RTCStatsReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCStatsReport.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07221B8517CEC32700848E51 /* RTCStatsReport.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RTCStatsReport.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                07221B8817CEC32700848E51 /* RTCStatsResponse.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RTCStatsResponse.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                07221B8917CEC32700848E51 /* RTCStatsResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCStatsResponse.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                07221B8A17CEC32700848E51 /* RTCStatsResponse.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RTCStatsResponse.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 07221B8D17CEC32700848E51 /* UserMediaClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserMediaClient.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07221B8E17CEC32700848E51 /* UserMediaController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UserMediaController.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07221B8F17CEC32700848E51 /* UserMediaController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserMediaController.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -7230,8 +7221,6 @@
</span><span class="cx">                 07221BAB17CF0AD400848E51 /* RTCSessionDescriptionDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RTCSessionDescriptionDescriptor.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07221BAC17CF0AD400848E51 /* RTCSessionDescriptionDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCSessionDescriptionDescriptor.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07221BAD17CF0AD400848E51 /* RTCSessionDescriptionRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCSessionDescriptionRequest.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                07221BAE17CF0AD400848E51 /* RTCStatsRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCStatsRequest.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                07221BAF17CF0AD400848E51 /* RTCStatsResponseBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCStatsResponseBase.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 07221BB017CF0AD400848E51 /* RTCVoidRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCVoidRequest.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07277E4017D018CC0015534D /* JSMediaStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSMediaStream.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07277E4117D018CC0015534D /* JSMediaStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSMediaStream.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -7339,8 +7328,6 @@
</span><span class="cx">                 07969DA217D14151007FF842 /* JSRTCSessionDescription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRTCSessionDescription.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07969DA717D14151007FF842 /* JSRTCStatsReport.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSRTCStatsReport.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 07969DA817D14151007FF842 /* JSRTCStatsReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRTCStatsReport.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                07969DA917D14151007FF842 /* JSRTCStatsResponse.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSRTCStatsResponse.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                07969DAA17D14151007FF842 /* JSRTCStatsResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRTCStatsResponse.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 079D0867162F20E800DB8658 /* CaptionUserPreferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CaptionUserPreferences.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 079D0869162F21F900DB8658 /* CaptionUserPreferencesMediaAF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CaptionUserPreferencesMediaAF.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 079D086A162F21F900DB8658 /* CaptionUserPreferencesMediaAF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CaptionUserPreferencesMediaAF.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -15396,9 +15383,6 @@
</span><span class="cx">                                 07221B8317CEC32700848E51 /* RTCStatsReport.cpp */,
</span><span class="cx">                                 07221B8417CEC32700848E51 /* RTCStatsReport.h */,
</span><span class="cx">                                 07221B8517CEC32700848E51 /* RTCStatsReport.idl */,
</span><del>-                                07221B8817CEC32700848E51 /* RTCStatsResponse.cpp */,
-                                07221B8917CEC32700848E51 /* RTCStatsResponse.h */,
-                                07221B8A17CEC32700848E51 /* RTCStatsResponse.idl */,
</del><span class="cx">                                 5E2C43641BCEE3720001E2BC /* RTCTrackEvent.cpp */,
</span><span class="cx">                                 5E2C43651BCEE3720001E2BC /* RTCTrackEvent.h */,
</span><span class="cx">                                 5E2C43661BCEE3720001E2BC /* RTCTrackEvent.idl */,
</span><span class="lines">@@ -15457,8 +15441,6 @@
</span><span class="cx">                                 07221BAB17CF0AD400848E51 /* RTCSessionDescriptionDescriptor.cpp */,
</span><span class="cx">                                 07221BAC17CF0AD400848E51 /* RTCSessionDescriptionDescriptor.h */,
</span><span class="cx">                                 07221BAD17CF0AD400848E51 /* RTCSessionDescriptionRequest.h */,
</span><del>-                                07221BAE17CF0AD400848E51 /* RTCStatsRequest.h */,
-                                07221BAF17CF0AD400848E51 /* RTCStatsResponseBase.h */,
</del><span class="cx">                                 07221BB017CF0AD400848E51 /* RTCVoidRequest.h */,
</span><span class="cx">                                 5EA3D6E51C85A9C300300BBB /* SDPProcessorScriptResource.cpp */,
</span><span class="cx">                                 5EA3D6E61C85A9C300300BBB /* SDPProcessorScriptResource.h */,
</span><span class="lines">@@ -15606,8 +15588,6 @@
</span><span class="cx">                                 07969DA217D14151007FF842 /* JSRTCSessionDescription.h */,
</span><span class="cx">                                 07969DA717D14151007FF842 /* JSRTCStatsReport.cpp */,
</span><span class="cx">                                 07969DA817D14151007FF842 /* JSRTCStatsReport.h */,
</span><del>-                                07969DA917D14151007FF842 /* JSRTCStatsResponse.cpp */,
-                                07969DAA17D14151007FF842 /* JSRTCStatsResponse.h */,
</del><span class="cx">                                 5E2C43691BCF05C80001E2BC /* JSRTCTrackEvent.cpp */,
</span><span class="cx">                                 5E2C436A1BCF05C80001E2BC /* JSRTCTrackEvent.h */,
</span><span class="cx">                         );
</span><span class="lines">@@ -26874,7 +26854,6 @@
</span><span class="cx">                                 5E2C43721BCF0D750001E2BD /* JSRTCRtpTransceiver.h in Headers */,
</span><span class="cx">                                 07969DBC17D14151007FF842 /* JSRTCSessionDescription.h in Headers */,
</span><span class="cx">                                 07969DC217D14151007FF842 /* JSRTCStatsReport.h in Headers */,
</span><del>-                                07969DC417D14151007FF842 /* JSRTCStatsResponse.h in Headers */,
</del><span class="cx">                                 5E2C436C1BCF071E0001E2BC /* JSRTCTrackEvent.h in Headers */,
</span><span class="cx">                                 BCEC01C30C274DDD009F4EC9 /* JSScreen.h in Headers */,
</span><span class="cx">                                 FDA15ECE12B03F61003A583A /* JSScriptProcessorNode.h in Headers */,
</span><span class="lines">@@ -27914,9 +27893,6 @@
</span><span class="cx">                                 078E094317D16E1C00420AA1 /* RTCSessionDescriptionDescriptor.h in Headers */,
</span><span class="cx">                                 078E094417D16E1C00420AA1 /* RTCSessionDescriptionRequest.h in Headers */,
</span><span class="cx">                                 078E092A17D14D1C00420AA1 /* RTCStatsReport.h in Headers */,
</span><del>-                                078E094517D16E1C00420AA1 /* RTCStatsRequest.h in Headers */,
-                                078E092C17D14D1C00420AA1 /* RTCStatsResponse.h in Headers */,
-                                078E094617D16E1C00420AA1 /* RTCStatsResponseBase.h in Headers */,
</del><span class="cx">                                 5E2C43681BCEE3770001E2BC /* RTCTrackEvent.h in Headers */,
</span><span class="cx">                                 078E094717D16E1C00420AA1 /* RTCVoidRequest.h in Headers */,
</span><span class="cx">                                 5824ABA31AE81116009074B7 /* RubyElement.h in Headers */,
</span><span class="lines">@@ -30719,7 +30695,6 @@
</span><span class="cx">                                 5E2C43711BCF0D750001E2BD /* JSRTCRtpTransceiver.cpp in Sources */,
</span><span class="cx">                                 07969DBB17D14151007FF842 /* JSRTCSessionDescription.cpp in Sources */,
</span><span class="cx">                                 07969DC117D14151007FF842 /* JSRTCStatsReport.cpp in Sources */,
</span><del>-                                07969DC317D14151007FF842 /* JSRTCStatsResponse.cpp in Sources */,
</del><span class="cx">                                 5E2C436B1BCF071E0001E2BC /* JSRTCTrackEvent.cpp in Sources */,
</span><span class="cx">                                 BCEC01C20C274DDD009F4EC9 /* JSScreen.cpp in Sources */,
</span><span class="cx">                                 FDA15ECD12B03F61003A583A /* JSScriptProcessorNode.cpp in Sources */,
</span><span class="lines">@@ -31613,7 +31588,6 @@
</span><span class="cx">                                 078E090C17D14CEE00420AA1 /* RTCSessionDescription.cpp in Sources */,
</span><span class="cx">                                 073BE34E17D180B2002BD431 /* RTCSessionDescriptionDescriptor.cpp in Sources */,
</span><span class="cx">                                 078E090E17D14CEE00420AA1 /* RTCStatsReport.cpp in Sources */,
</span><del>-                                078E091017D14CEE00420AA1 /* RTCStatsResponse.cpp in Sources */,
</del><span class="cx">                                 5E2C43671BCEE3770001E2BC /* RTCTrackEvent.cpp in Sources */,
</span><span class="cx">                                 5824ABA21AE81116009074B7 /* RubyElement.cpp in Sources */,
</span><span class="cx">                                 5824ABA61AE81384009074B7 /* RubyTextElement.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmediastreamMediaEndpointh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mediastream/MediaEndpoint.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mediastream/MediaEndpoint.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/platform/mediastream/MediaEndpoint.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> #if ENABLE(WEB_RTC)
</span><span class="cx"> 
</span><span class="cx"> #include &quot;MediaEndpointConfiguration.h&quot;
</span><ins>+#include &quot;PeerConnectionBackend.h&quot;
</ins><span class="cx"> #include &quot;RealtimeMediaSource.h&quot;
</span><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="lines">@@ -42,6 +43,7 @@
</span><span class="cx"> class MediaEndpoint;
</span><span class="cx"> class MediaEndpointClient;
</span><span class="cx"> class MediaEndpointSessionConfiguration;
</span><ins>+class MediaStreamTrack;
</ins><span class="cx"> class RTCDataChannelHandler;
</span><span class="cx"> class RealtimeMediaSource;
</span><span class="cx"> 
</span><span class="lines">@@ -87,6 +89,8 @@
</span><span class="cx">     virtual void stop() = 0;
</span><span class="cx"> 
</span><span class="cx">     virtual void emulatePlatformEvent(const String&amp;) { };
</span><ins>+
+    virtual void getStats(MediaStreamTrack*, PeerConnection::StatsPromise&amp;&amp; promise) { promise.reject(NOT_SUPPORTED_ERR); }
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> class MediaEndpointClient {
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmediastreamRTCStatsRequesth"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/platform/mediastream/RTCStatsRequest.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mediastream/RTCStatsRequest.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/platform/mediastream/RTCStatsRequest.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -1,63 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer
- *    in the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name of Google Inc. nor the names of its contributors
- *    may be used to endorse or promote products derived from this
- *    software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef RTCStatsRequest_h
-#define RTCStatsRequest_h
-
-#if ENABLE(WEB_RTC)
-
-#include &lt;wtf/PassRefPtr.h&gt;
-#include &lt;wtf/RefCounted.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
-
-namespace WebCore {
-
-class MediaStreamTrackPrivate;
-class RTCStatsResponseBase;
-
-class RTCStatsRequest : public RefCounted&lt;RTCStatsRequest&gt; {
-public:
-    virtual ~RTCStatsRequest() { }
-
-    virtual PassRefPtr&lt;RTCStatsResponseBase&gt; createResponse() = 0;
-    virtual bool hasSelector() = 0;
-    virtual MediaStreamTrackPrivate* track() = 0;
-    virtual void requestSucceeded(PassRefPtr&lt;RTCStatsResponseBase&gt;) = 0;
-    virtual void requestFailed(const String&amp;) = 0;
-
-protected:
-    RTCStatsRequest() { }
-};
-
-} // namespace WebCore
-
-#endif // ENABLE(WEB_RTC)
-
-#endif // RTCStatsRequest_h
</del></span></pre></div>
<a id="trunkSourceWebCoreplatformmediastreamRTCStatsResponseBaseh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/platform/mediastream/RTCStatsResponseBase.h (212328 => 212329)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mediastream/RTCStatsResponseBase.h        2017-02-14 23:16:52 UTC (rev 212328)
+++ trunk/Source/WebCore/platform/mediastream/RTCStatsResponseBase.h        2017-02-14 23:17:08 UTC (rev 212329)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef RTCStatsResponseBase_h
-#define RTCStatsResponseBase_h
-
-#if ENABLE(WEB_RTC)
-
-#include &lt;wtf/RefCounted.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
-
-namespace WebCore {
-
-class RTCStatsResponseBase : public RefCounted&lt;RTCStatsResponseBase&gt; {
-public:
-    virtual ~RTCStatsResponseBase() { }
-
-    virtual size_t addReport(String id, String type, double timestamp) = 0;
-    virtual void addStatistic(size_t report, String name, String value) = 0;
-};
-
-} // namespace WebCore
-
-#endif // ENABLE(WEB_RTC)
-
-#endif // RTCStatsResponseBase_h
-
</del></span></pre>
</div>
</div>

</body>
</html>