Index: talk/app/webrtc/peerconnectioninterface.h |
diff --git a/talk/app/webrtc/peerconnectioninterface.h b/talk/app/webrtc/peerconnectioninterface.h |
index ca853385e6327fdcad52014b32abc115685e80c1..eb353bdb7583076f77a2136ad225eb0d672e6452 100644 |
--- a/talk/app/webrtc/peerconnectioninterface.h |
+++ b/talk/app/webrtc/peerconnectioninterface.h |
@@ -135,11 +135,16 @@ class MetricsObserverInterface : public rtc::RefCountInterface { |
int counter, |
int counter_max) {} |
+ // This is used to handle sparse counters like SSL cipher suite. |
+ // TODO(guoweis): Remove the implmenetation once the dependency's interface |
davidben_webrtc
2015/09/25 19:23:12
Nit: implementation :-)
|
+ // definition is updated. |
+ virtual void IncrementSparseEnumCounter(PeerConnectionEnumCounterType type, |
+ int counter) { |
+ IncrementEnumCounter(type, counter, 0 /* Ignored */); |
+ } |
+ |
virtual void AddHistogramSample(PeerConnectionMetricsName type, |
int value) = 0; |
- // TODO(jbauch): Make method abstract when it is implemented by Chromium. |
- virtual void AddHistogramSample(PeerConnectionMetricsName type, |
- const std::string& value) {} |
protected: |
virtual ~MetricsObserverInterface() {} |