Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: content/public/browser/render_process_host.h

Issue 264793017: Implements RTP header dumping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add WebRtcRtpDumpWriter Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..f49d2303abffb358d93407cca4f22f7a701306d7 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -205,6 +205,12 @@ 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, size_t length, bool incoming)>
+ WebRtcRtpPacketCallback;
+ virtual void SetWebRtcRtpPacketCallback(
+ const WebRtcRtpPacketCallback& callback) = 0;
#endif
// Tells the ResourceDispatcherHost to resume a deferred navigation without

Powered by Google App Engine
This is Rietveld 408576698