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

Unified Diff: chrome/browser/media/webrtc_logging_handler_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: chrome/browser/media/webrtc_logging_handler_host.h
diff --git a/chrome/browser/media/webrtc_logging_handler_host.h b/chrome/browser/media/webrtc_logging_handler_host.h
index d4605ba6d402f1c3afd5f89de95b76eabdcc468d..7d2db442f8fd4f39bdd66753b6841380092abe52 100644
--- a/chrome/browser/media/webrtc_logging_handler_host.h
+++ b/chrome/browser/media/webrtc_logging_handler_host.h
@@ -18,6 +18,7 @@ class URLRequestContextGetter;
class PartialCircularBuffer;
class Profile;
class RenderProcessHost;
+class WebRtcRtpDumpHandler;
typedef std::map<std::string, std::string> MetaDataMap;
@@ -73,6 +74,8 @@ class WebRtcLoggingHandlerHost : public content::BrowserMessageFilter {
upload_log_on_render_close_ = should_upload;
}
+ void OnRtpPacket(const uint8* packet, size_t length, bool incoming);
Henrik Grunell 2014/05/07 09:38:19 Add comment. Which thread should it be called on?
+
private:
// States used for protecting from function calls made at non-allowed points
// in time. For example, StartLogging() is only allowed in CLOSED state.
@@ -164,6 +167,8 @@ class WebRtcLoggingHandlerHost : public content::BrowserMessageFilter {
// changes to STOPPED.
base::Time logging_started_time_;
+ scoped_ptr<WebRtcRtpDumpHandler> rtp_dump_handler_;
Henrik Grunell 2014/05/07 09:38:19 Add comment.
+
DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost);
};

Powered by Google App Engine
This is Rietveld 408576698