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

Unified Diff: talk/app/webrtc/webrtcsession.cc

Issue 1312763013: Cleanup: Remove duplicated functions (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/webrtcsession.cc
diff --git a/talk/app/webrtc/webrtcsession.cc b/talk/app/webrtc/webrtcsession.cc
index 838ad93af1920689240a6b7cae7eadb42fca27b1..9102e78eeac9affa903fc5c5f8c148c3d6f231c7 100644
--- a/talk/app/webrtc/webrtcsession.cc
+++ b/talk/app/webrtc/webrtcsession.cc
@@ -2033,18 +2033,11 @@ void WebRtcSession::ReportBestConnectionState(
// Increment the counter for IP type.
if (local.address().family() == AF_INET) {
- // TODO(guoweis): Remove this next line once IncrementEnumCounter
- // implemented for PeerConnectionMetrics.
- metrics_observer_->IncrementCounter(kBestConnections_IPv4);
-
metrics_observer_->IncrementEnumCounter(
kEnumCounterAddressFamily, kBestConnections_IPv4,
kPeerConnectionAddressFamilyCounter_Max);
} else if (local.address().family() == AF_INET6) {
- // TODO(guoweis): Remove this next line.
- metrics_observer_->IncrementCounter(kBestConnections_IPv6);
-
metrics_observer_->IncrementEnumCounter(
kEnumCounterAddressFamily, kBestConnections_IPv6,
kPeerConnectionAddressFamilyCounter_Max);
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698