Chromium Code Reviews| Index: webrtc/pc/peerconnection.h |
| diff --git a/webrtc/pc/peerconnection.h b/webrtc/pc/peerconnection.h |
| index 289a5d87a7c581b90041953deea5e7b5e587f1c4..6b0be7a372001826c1dfb2a6f5c44d3aca33ea0b 100644 |
| --- a/webrtc/pc/peerconnection.h |
| +++ b/webrtc/pc/peerconnection.h |
| @@ -63,6 +63,10 @@ class PeerConnection : public PeerConnectionInterface, |
| public: |
| explicit PeerConnection(PeerConnectionFactory* factory); |
|
Taylor Brandstetter
2017/06/14 01:54:16
Can we get rid of this constructor? I don't think
Zhi Huang
2017/06/14 06:57:01
Done.
|
| + explicit PeerConnection(PeerConnectionFactory* factory, |
| + std::unique_ptr<RtcEventLog> event_log, |
| + std::unique_ptr<Call> call); |
| + |
| bool Initialize( |
| const PeerConnectionInterface::RTCConfiguration& configuration, |
| std::unique_ptr<cricket::PortAllocator> allocator, |
| @@ -392,9 +396,6 @@ class PeerConnection : public PeerConnectionInterface, |
| // This function should only be called from the worker thread. |
| void StopRtcEventLog_w(); |
| - // Creates the |*call_| object. Must only be called from the worker thread. |
| - void CreateCall_w(); |
| - |
| // Storing the factory as a scoped reference pointer ensures that the memory |
| // in the PeerConnectionFactoryImpl remains available as long as the |
| // PeerConnection is running. It is passed to PeerConnection as a raw pointer. |