Index: third_party/WebKit/public/platform/WebRTCRtpContributingSource.h |
diff --git a/third_party/WebKit/public/platform/WebRTCRtpContributingSource.h b/third_party/WebKit/public/platform/WebRTCRtpContributingSource.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c9562d8ba6ccd8192ce09df8510b03c73ee450bc |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebRTCRtpContributingSource.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2017 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. |
+ |
+#ifndef WebRTCRtpContributingSource_h |
+#define WebRTCRtpContributingSource_h |
+ |
+#include "WebCommon.h" |
+ |
+namespace blink { |
+ |
+enum class WebRTCRtpContributingSourceType { |
+ SSRC, |
+ CSRC, |
+}; |
+ |
+// https://w3c.github.io/webrtc-pc/#dom-rtcrtpcontributingsource |
+class BLINK_PLATFORM_EXPORT WebRTCRtpContributingSource { |
+ public: |
+ virtual ~WebRTCRtpContributingSource(); |
+ |
+ virtual WebRTCRtpContributingSourceType sourceType() const = 0; |
+ virtual double timestamp() const = 0; |
+ virtual uint32_t source() const = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebRTCRtpContributingSource_h |