Index: content/renderer/media/rtc_peer_connection_handler.h |
diff --git a/content/renderer/media/rtc_peer_connection_handler.h b/content/renderer/media/rtc_peer_connection_handler.h |
index 04941df562c64b9860ef597e06b1d2c1125b3193..93ad683cbe123244e714393a6ffae37840a02641 100644 |
--- a/content/renderer/media/rtc_peer_connection_handler.h |
+++ b/content/renderer/media/rtc_peer_connection_handler.h |
@@ -20,6 +20,7 @@ |
#include "base/threading/thread_checker.h" |
#include "content/common/content_export.h" |
#include "content/renderer/media/webrtc/media_stream_track_metrics.h" |
+#include "ipc/ipc_platform_file.h" |
#include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
#include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" |
#include "third_party/WebKit/public/platform/WebRTCStatsRequest.h" |
@@ -168,6 +169,12 @@ class CONTENT_EXPORT RTCPeerConnectionHandler |
// Tells the |client_| to close RTCPeerConnection. |
void CloseClientPeerConnection(); |
+ // Start recording an event log. |
+ void StartEventLog(IPC::PlatformFileForTransit file, |
+ int64_t max_file_size_bytes); |
+ // Stop recording an event log. |
+ void StopEventLog(); |
+ |
protected: |
webrtc::PeerConnectionInterface* native_peer_connection() { |
return native_peer_connection_.get(); |