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

Unified Diff: content/common/media/media_track_lifetime_metrics_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: 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/common/media/media_track_lifetime_metrics_messages.h
diff --git a/content/common/media/media_track_lifetime_metrics_messages.h b/content/common/media/media_track_lifetime_metrics_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..da2493b10e1df02962aaa134690749a68a20e3bf
--- /dev/null
+++ b/content/common/media/media_track_lifetime_metrics_messages.h
@@ -0,0 +1,18 @@
+// 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 MediaTrackLifetimeMetricsHostMsgStart
+
+// Messages sent to MediaTrackLifetimeMetricsHost.
+IPC_MESSAGE_CONTROL2(MediaTrackLifetimeMetrics_AddTrack,
+ std::string /* id */,
+ bool /* is_audio */)
perkj_chrome 2014/03/11 08:05:21 local and remote tracks ?
Jói 2014/03/11 17:36:33 Makes sense to add that right away to avoid an add
+IPC_MESSAGE_CONTROL1(MediaTrackLifetimeMetrics_RemoveTrack,
+ std::string /* id */)

Powered by Google App Engine
This is Rietveld 408576698