Add default implementation of Add/RemoveObserver.
Needed to remove Add/RemoveObserver from RTCVideoEncoderFactory in Chromium before removing these completely. This is done to keep the chromium.webrtc.fyi bots happy and to make rolling webrtc revisions easier. R=stefan@webrtc.org BUG=3876 Review URL: https://webrtc-codereview.appspot.com/23839004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7332 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
65e56dba53
commit
1795c358fc
@ -74,8 +74,8 @@ class WebRtcVideoEncoderFactory {
|
||||
// Adds/removes observer to receive OnCodecsChanged notifications.
|
||||
// Factory must outlive Observer. Observer is responsible for removing itself
|
||||
// from the Factory by the time its dtor is done.
|
||||
virtual void AddObserver(Observer* observer) = 0;
|
||||
virtual void RemoveObserver(Observer* observer) = 0;
|
||||
virtual void AddObserver(Observer* observer) {}
|
||||
virtual void RemoveObserver(Observer* observer) {}
|
||||
|
||||
// Returns a list of supported codecs in order of preference.
|
||||
// The list is empty if the list of codecs is not yet available.
|
||||
|
Loading…
Reference in New Issue
Block a user