Chromium Code Reviews| 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..a5b2aa53392449932ae91837feb37dca47669528 100644 |
| --- a/content/public/browser/render_process_host.h |
| +++ b/content/public/browser/render_process_host.h |
| @@ -205,6 +205,16 @@ 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; |
| + virtual void SetWebRtcRtpPacketCallback( |
| + const WebRtcRtpPacketCallback& callback) = 0; |
| + |
| + virtual void StartRtpDump(bool incoming, bool outgoing) = 0; |
|
jam
2014/05/14 23:59:35
can you simplify this api by:
1) removing teh SetW
jiayl
2014/05/15 23:06:22
Great idea! Done.
|
| + virtual void StopRtpDump(bool incoming, bool outgoing) = 0; |
| #endif |
| // Tells the ResourceDispatcherHost to resume a deferred navigation without |