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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCRtpContributingSource.h

Issue 2813443003: Revert of RTCRtpReceiver.getContributingSources() added. (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/modules/peerconnection/RTCRtpContributingSource.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCRtpContributingSource.h b/third_party/WebKit/Source/modules/peerconnection/RTCRtpContributingSource.h
deleted file mode 100644
index 584d9b5a570fa045b653f9c9600d4bd8d70ba7d8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/peerconnection/RTCRtpContributingSource.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// 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 RTCRtpContributingSource_h
-#define RTCRtpContributingSource_h
-
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "platform/heap/GarbageCollected.h"
-#include "platform/heap/Member.h"
-#include "platform/heap/Visitor.h"
-
-namespace blink {
-
-class RTCRtpReceiver;
-class WebRTCRtpContributingSource;
-
-// https://w3c.github.io/webrtc-pc/#dom-rtcrtpcontributingsource
-class RTCRtpContributingSource final
- : public GarbageCollectedFinalized<RTCRtpContributingSource>,
- public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
-
- public:
- RTCRtpContributingSource(RTCRtpReceiver*, const WebRTCRtpContributingSource&);
- // The source's source ID must match |source|.
- void UpdateMembers(const WebRTCRtpContributingSource&);
-
- double timestamp();
- uint32_t source() const;
-
- DECLARE_VIRTUAL_TRACE();
-
- private:
- Member<RTCRtpReceiver> receiver_;
- double timestamp_ms_;
- const uint32_t source_;
-};
-
-} // namespace blink
-
-#endif // RTCRtpContributingSource_h

Powered by Google App Engine
This is Rietveld 408576698