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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.h

Issue 2156063002: Preparation for new Promise-based RTCPeerConnection.getStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added UseCounter for the new getStats 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/modules/peerconnection/RTCLegacyStatsReport.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCStatsReport.h b/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.h
similarity index 83%
rename from third_party/WebKit/Source/modules/peerconnection/RTCStatsReport.h
rename to third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.h
index e6fe95e0e5394ac9f4ded268e744bd7c1d457ed7..0b9742050cf2e4ad2b4f3a42b4dbf9b3d5aeb6e6 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCStatsReport.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.h
@@ -22,8 +22,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCStatsReport_h
-#define RTCStatsReport_h
+#ifndef RTCLegacyStatsReport_h
+#define RTCLegacyStatsReport_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "wtf/HashMap.h"
@@ -33,10 +33,10 @@
namespace blink {
-class RTCStatsReport final : public GarbageCollectedFinalized<RTCStatsReport>, public ScriptWrappable {
+class RTCLegacyStatsReport final : public GarbageCollectedFinalized<RTCLegacyStatsReport>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static RTCStatsReport* create(const String& id, const String& type, double timestamp);
+ static RTCLegacyStatsReport* create(const String& id, const String& type, double timestamp);
double timestamp() const { return m_timestamp; }
String id() { return m_id; }
@@ -49,7 +49,7 @@ public:
DEFINE_INLINE_TRACE() { }
private:
- RTCStatsReport(const String& id, const String& type, double timestamp);
+ RTCLegacyStatsReport(const String& id, const String& type, double timestamp);
String m_id;
String m_type;
@@ -59,4 +59,4 @@ private:
} // namespace blink
-#endif // RTCStatsReport_h
+#endif // RTCLegacyStatsReport_h

Powered by Google App Engine
This is Rietveld 408576698