| Index: talk/app/webrtc/peerconnection.h
|
| diff --git a/talk/app/webrtc/peerconnection.h b/talk/app/webrtc/peerconnection.h
|
| index 2d388ae9f913912990af0541dd8eae67008da745..21e69fc9e5d554a72a5881af41a36fbb4c729de6 100644
|
| --- a/talk/app/webrtc/peerconnection.h
|
| +++ b/talk/app/webrtc/peerconnection.h
|
| @@ -75,12 +75,22 @@ class PeerConnection : public PeerConnectionInterface,
|
| public:
|
| explicit PeerConnection(PeerConnectionFactory* factory);
|
|
|
| + // TODO(deadbeef): Remove this overload of Initialize once everyone is moved
|
| + // to the new version.
|
| bool Initialize(
|
| const PeerConnectionInterface::RTCConfiguration& configuration,
|
| const MediaConstraintsInterface* constraints,
|
| PortAllocatorFactoryInterface* allocator_factory,
|
| rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store,
|
| PeerConnectionObserver* observer);
|
| +
|
| + bool Initialize(
|
| + const PeerConnectionInterface::RTCConfiguration& configuration,
|
| + const MediaConstraintsInterface* constraints,
|
| + rtc::scoped_ptr<cricket::PortAllocator> allocator,
|
| + rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store,
|
| + PeerConnectionObserver* observer);
|
| +
|
| rtc::scoped_refptr<StreamCollectionInterface> local_streams() override;
|
| rtc::scoped_refptr<StreamCollectionInterface> remote_streams() override;
|
| bool AddStream(MediaStreamInterface* local_stream) override;
|
|
|