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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 183973021: Add metrics to track the duration of tracks received over a PeerConnection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now logging in browser process. Created 6 years, 9 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/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 80d37be2840e774cf57bf6f455e4763a90acb629..af2bdf87d7f9aecde08ab4d37bacd5aa29958edb 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -151,6 +151,7 @@
#if defined(ENABLE_WEBRTC)
#include "content/browser/media/webrtc_internals.h"
+#include "content/browser/renderer_host/media/media_track_lifetime_metrics_host.h"
#include "content/browser/renderer_host/media/webrtc_identity_service_host.h"
#include "content/common/media/media_stream_messages.h"
#endif
@@ -703,6 +704,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
media_stream_manager));
AddFilter(
new DeviceRequestMessageFilter(resource_context, media_stream_manager));
+ AddFilter(new MediaTrackLifetimeMetricsHost(this));
#endif
#if defined(ENABLE_PLUGINS)
AddFilter(new PepperRendererConnection(GetID()));

Powered by Google App Engine
This is Rietveld 408576698