| Index: content/public/browser/render_process_host.h
|
| diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
|
| index 74ac574d5439830d30b2b7dfca5f4e46fa8dbb06..80c06c7b14055c62eb113552416f9ce506190043 100644
|
| --- a/content/public/browser/render_process_host.h
|
| +++ b/content/public/browser/render_process_host.h
|
| @@ -219,9 +219,6 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| virtual void EnableAudioDebugRecordings(const base::FilePath& file) = 0;
|
| virtual void DisableAudioDebugRecordings() = 0;
|
|
|
| - virtual void EnableEventLogRecordings(const base::FilePath& file) = 0;
|
| - virtual void DisableEventLogRecordings() = 0;
|
| -
|
| // When set, |callback| receives log messages regarding, for example, media
|
| // devices (webcams, mics, etc) that were initially requested in the render
|
| // process associated with this RenderProcessHost.
|
| @@ -244,6 +241,23 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| bool incoming,
|
| bool outgoing,
|
| const WebRtcRtpPacketCallback& packet_callback) = 0;
|
| +
|
| + // Register callbacks to handle starting and stopping the WebRTC event log
|
| + // functionality from the chrome://webrtc-internals page. Only one handler can
|
| + // be registered.
|
| + using EventLogStartFunc = base::Callback<void(const base::FilePath&)>;
|
| + using EventLogStopFunc = base::Callback<void()>;
|
| + virtual void RegisterEventLogHandler(
|
| + const EventLogStartFunc& start_logging_callback,
|
| + const EventLogStopFunc& stop_logging_callback) = 0;
|
| +
|
| + // Register callback functions to receive calls when PeerConnections are
|
| + // added or removed.
|
| + using PeerConnectionAddedFunc = base::Callback<void(int)>;
|
| + using PeerConnectionRemovedFunc = base::Callback<void(int)>;
|
| + virtual void RegisterPeerConnectionCallbacks(
|
| + const PeerConnectionAddedFunc& pc_added_callback,
|
| + const PeerConnectionRemovedFunc& pc_removed_callback) = 0;
|
| #endif
|
|
|
| // Tells the ResourceDispatcherHost to resume a deferred navigation without
|
|
|