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

Unified Diff: content/common/media/media_stream_track_metrics_host_messages.h

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: Address review comments. 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/common/media/media_stream_track_metrics_host_messages.h
diff --git a/content/common/media/media_stream_track_metrics_host_messages.h b/content/common/media/media_stream_track_metrics_host_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..93060a274bcc5ec4349fd41951c605569cc2f2f0
--- /dev/null
+++ b/content/common/media/media_stream_track_metrics_host_messages.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/values.h"
+#include "content/common/content_export.h"
+#include "ipc/ipc_message_macros.h"
+
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
+#define IPC_MESSAGE_START MediaStreamTrackMetricsHostMsgStart
+
+// Messages sent to MediaStreamTrackMetricsHost.
+IPC_MESSAGE_CONTROL3(MediaStreamTrackMetricsHost_AddTrack,
+ std::string /* id */,
+ bool /* is_audio */,
+ bool /* is_remote */)
+IPC_MESSAGE_CONTROL1(MediaStreamTrackMetricsHost_RemoveTrack,
+ std::string /* id */)

Powered by Google App Engine
This is Rietveld 408576698