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

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

Issue 2095643002: Add RTCPeerConnection RAPPOR metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: record metrics only for connected PCs Created 4 years, 6 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/RTCPeerConnection.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
index 05e60acc594ce89dc36e5b2181a2c8554c0363fa..42f09b2a5cc75a95b9e688eb944361c8d3a67853 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h
@@ -198,6 +198,8 @@ private:
void closeInternal();
+ void recordRapporMetrics();
+
SignalingState m_signalingState;
ICEGatheringState m_iceGatheringState;
ICEConnectionState m_iceConnectionState;
@@ -212,6 +214,8 @@ private:
bool m_stopped;
bool m_closed;
+
+ bool m_hasDataChannels; // For RAPPOR metrics
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698