| Index: webrtc/api/peerconnectioninterface.h | 
| diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h | 
| index 94d2c001e38c228d7130319d03e4e8a5c13be34e..a25b6e5d8e32ab236496856d449d07bce5fc7dd8 100644 | 
| --- a/webrtc/api/peerconnectioninterface.h | 
| +++ b/webrtc/api/peerconnectioninterface.h | 
| @@ -58,7 +58,6 @@ | 
|  | 
| #include "webrtc/api/datachannelinterface.h" | 
| #include "webrtc/api/dtlsidentitystore.h" | 
| -#include "webrtc/api/dtlsidentitystore.h" | 
| #include "webrtc/api/dtmfsenderinterface.h" | 
| #include "webrtc/api/jsep.h" | 
| #include "webrtc/api/mediastreaminterface.h" | 
| @@ -66,6 +65,7 @@ | 
| #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" | 
| @@ -686,19 +686,34 @@ CreatePeerConnectionFactory(); | 
|  | 
| // Create a new instance of PeerConnectionFactoryInterface. | 
| // | 
| -// |worker_thread| and |signaling_thread| are the only mandatory | 
| -// parameters. | 
| +// |network_thread|, |worker_thread| and |signaling_thread| are | 
| +// the only mandatory parameters. | 
| // | 
| // If non-null, ownership of |default_adm|, |encoder_factory| and | 
| // |decoder_factory| are transferred to the returned factory. | 
| -rtc::scoped_refptr<PeerConnectionFactoryInterface> | 
| -CreatePeerConnectionFactory( | 
| +rtc::scoped_refptr<PeerConnectionFactoryInterface> CreatePeerConnectionFactory( | 
| +    rtc::Thread* network_thread, | 
| rtc::Thread* worker_thread, | 
| rtc::Thread* signaling_thread, | 
| AudioDeviceModule* default_adm, | 
| cricket::WebRtcVideoEncoderFactory* encoder_factory, | 
| cricket::WebRtcVideoDecoderFactory* decoder_factory); | 
|  | 
| +// 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, | 
| +    rtc::Thread* signaling_thread, | 
| +    AudioDeviceModule* default_adm, | 
| +    cricket::WebRtcVideoEncoderFactory* encoder_factory, | 
| +    cricket::WebRtcVideoDecoderFactory* decoder_factory) { | 
| +  return CreatePeerConnectionFactory( | 
| +      worker_and_network_thread, worker_and_network_thread, signaling_thread, | 
| +      default_adm, encoder_factory, decoder_factory); | 
| +} | 
| + | 
| }  // namespace webrtc | 
|  | 
| #endif  // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 
|  |