| 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 66a96eca5c6aca95d61c3ce68656669350f7c3fb..e7267e9144fc448c4866b370c58cddcd942c03ce 100644
|
| --- a/content/public/browser/render_process_host.h
|
| +++ b/content/public/browser/render_process_host.h
|
| @@ -205,6 +205,23 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| // process associated with this RenderProcessHost.
|
| virtual void SetWebRtcLogMessageCallback(
|
| base::Callback<void(const std::string&)> callback) = 0;
|
| +
|
| + typedef base::Callback<void(const uint8* packet_header,
|
| + size_t header_length,
|
| + size_t packet_length,
|
| + bool incoming)> WebRtcRtpPacketCallback;
|
| +
|
| + typedef base::Callback<void(bool incoming, bool outgoing)>
|
| + WebRtcStopRtpDumpCallback;
|
| +
|
| + // Starts passing RTP packets to |packet_callback| and returns the callback
|
| + // used to stop dumping. StartRtpDump must be called on the UI thread.
|
| + // The returned WebRtcStopRtpDumpCallback must be called on the IO thread.
|
| + // |packet_callback| can be called on any thread.
|
| + virtual WebRtcStopRtpDumpCallback StartRtpDump(
|
| + bool incoming,
|
| + bool outgoing,
|
| + const WebRtcRtpPacketCallback& packet_callback) = 0;
|
| #endif
|
|
|
| // Tells the ResourceDispatcherHost to resume a deferred navigation without
|
|
|