Undeprecate CreatePeerConnectionFactory which do not use network thread.

function was deprecated in https://codereview.webrtc.org/1968393002/
in favor of splitting network thread from worker thread.

TBR=pthatcher1
BUG=webrtc:5645

Review URL: https://codereview.webrtc.org/1981273002 .

Cr-Commit-Position: refs/heads/master@{#12768}
This commit is contained in:
Danil Chapovalov 2016-05-17 11:38:38 +02:00
parent e9021a3601
commit 2ccfbdf011

View File

@ -65,7 +65,6 @@
#include "webrtc/api/rtpsenderinterface.h"
#include "webrtc/api/statstypes.h"
#include "webrtc/api/umametrics.h"
#include "webrtc/base/deprecation.h"
#include "webrtc/base/fileutils.h"
#include "webrtc/base/network.h"
#include "webrtc/base/rtccertificate.h"
@ -694,7 +693,6 @@ rtc::scoped_refptr<PeerConnectionFactoryInterface> CreatePeerConnectionFactory(
// Create a new instance of PeerConnectionFactoryInterface.
// Same thread is used as worker and network thread.
RTC_DEPRECATED
inline rtc::scoped_refptr<PeerConnectionFactoryInterface>
CreatePeerConnectionFactory(
rtc::Thread* worker_and_network_thread,