| Index: third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp
|
| diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCStatsReport.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp
|
| similarity index 78%
|
| rename from third_party/WebKit/Source/modules/peerconnection/RTCStatsReport.cpp
|
| rename to third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp
|
| index 043e3d78f5f26122f5104dcb0a8e63282a0964de..89ca8e802c58486e23ed2144a93605878ce41d4c 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCStatsReport.cpp
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp
|
| @@ -23,23 +23,23 @@
|
| * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "modules/peerconnection/RTCStatsReport.h"
|
| +#include "modules/peerconnection/RTCLegacyStatsReport.h"
|
|
|
| namespace blink {
|
|
|
| -RTCStatsReport* RTCStatsReport::create(const String& id, const String& type, double timestamp)
|
| +RTCLegacyStatsReport* RTCLegacyStatsReport::create(const String& id, const String& type, double timestamp)
|
| {
|
| - return new RTCStatsReport(id, type, timestamp);
|
| + return new RTCLegacyStatsReport(id, type, timestamp);
|
| }
|
|
|
| -RTCStatsReport::RTCStatsReport(const String& id, const String& type, double timestamp)
|
| +RTCLegacyStatsReport::RTCLegacyStatsReport(const String& id, const String& type, double timestamp)
|
| : m_id(id)
|
| , m_type(type)
|
| , m_timestamp(timestamp)
|
| {
|
| }
|
|
|
| -Vector<String> RTCStatsReport::names() const
|
| +Vector<String> RTCLegacyStatsReport::names() const
|
| {
|
| Vector<String> result;
|
| for (HashMap<String, String>::const_iterator it = m_stats.begin(); it != m_stats.end(); ++it) {
|
| @@ -48,7 +48,7 @@ Vector<String> RTCStatsReport::names() const
|
| return result;
|
| }
|
|
|
| -void RTCStatsReport::addStatistic(const String& name, const String& value)
|
| +void RTCLegacyStatsReport::addStatistic(const String& name, const String& value)
|
| {
|
| m_stats.add(name, value);
|
| }
|
|
|