(Auto)update libjingle 66540208-> 66541346

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6085 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
buildbot@webrtc.org
2014-05-08 19:54:16 +00:00
parent 073dfdd10a
commit 1567b8cf8c
5 changed files with 86 additions and 0 deletions

View File

@@ -76,6 +76,7 @@
#include "talk/app/webrtc/jsep.h"
#include "talk/app/webrtc/mediastreaminterface.h"
#include "talk/app/webrtc/statstypes.h"
#include "talk/app/webrtc/umametrics.h"
#include "talk/base/fileutils.h"
#include "talk/base/socketaddress.h"
@@ -118,6 +119,15 @@ class StatsObserver : public talk_base::RefCountInterface {
virtual ~StatsObserver() {}
};
class UMAObserver : public talk_base::RefCountInterface {
public:
virtual void IncrementCounter(UMAMetricsCounter type) = 0;
virtual void AddHistogramSample(UMAMetricsName type, int value) = 0;
protected:
virtual ~UMAObserver() {}
};
class PeerConnectionInterface : public talk_base::RefCountInterface {
public:
// See http://dev.w3.org/2011/webrtc/editor/webrtc.html#state-definitions .
@@ -255,6 +265,8 @@ class PeerConnectionInterface : public talk_base::RefCountInterface {
// take the ownership of the |candidate|.
virtual bool AddIceCandidate(const IceCandidateInterface* candidate) = 0;
virtual void RegisterUMAObserver(UMAObserver* observer) = 0;
// Returns the current SignalingState.
virtual SignalingState signaling_state() = 0;