Chromium Code Reviews| Index: content/renderer/media/rtc_peer_connection_handler.cc |
| diff --git a/content/renderer/media/rtc_peer_connection_handler.cc b/content/renderer/media/rtc_peer_connection_handler.cc |
| index 6b12cd114bd4f93f728e432140268deb66da2f77..d71d00c5248078678252c12ed60d5395fdde4573 100644 |
| --- a/content/renderer/media/rtc_peer_connection_handler.cc |
| +++ b/content/renderer/media/rtc_peer_connection_handler.cc |
| @@ -1447,6 +1447,18 @@ void RTCPeerConnectionHandler::CloseClientPeerConnection() { |
| client_->closePeerConnection(); |
| } |
| +void RTCPeerConnectionHandler::StartEventLog(IPC::PlatformFileForTransit file, |
| + int64_t max_file_size_bytes) { |
| + DCHECK(thread_checker_.CalledOnValidThread()); |
| + native_peer_connection_->StartRtcEventLog( |
| + IPC::PlatformFileForTransitToPlatformFile(file), max_file_size_bytes); |
|
Henrik Grunell
2016/05/10 08:44:56
DCHECK the file and size here or somewhere in the
Ivo-OOO until feb 6
2016/05/12 13:23:24
I added a DCHECK for the file, but the size can ac
|
| +} |
| + |
| +void RTCPeerConnectionHandler::StopEventLog() { |
| + DCHECK(thread_checker_.CalledOnValidThread()); |
| + native_peer_connection_->StopRtcEventLog(); |
| +} |
| + |
| blink::WebRTCDataChannelHandler* RTCPeerConnectionHandler::createDataChannel( |
| const blink::WebString& label, const blink::WebRTCDataChannelInit& init) { |
| DCHECK(thread_checker_.CalledOnValidThread()); |