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

Side by Side Diff: content/renderer/media/webrtc/rtc_rtp_contributing_source.h

Issue 2808113002: Reland of TCRtpReceiver.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 unified diff | Download patch
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/webrtc/rtc_rtp_contributing_source.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_RTC_RTP_CONTRIBUTING_SOURCE_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_RTC_RTP_CONTRIBUTING_SOURCE_H_
7
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h"
11 #include "third_party/WebKit/public/platform/WebRTCRtpContributingSource.h"
12 #include "third_party/webrtc/api/rtpreceiverinterface.h"
13
14 namespace content {
15
16 class CONTENT_EXPORT RTCRtpContributingSource
17 : public blink::WebRTCRtpContributingSource {
18 public:
19 explicit RTCRtpContributingSource(const webrtc::RtpSource& source);
20 ~RTCRtpContributingSource() override;
21
22 blink::WebRTCRtpContributingSourceType SourceType() const override;
23 double TimestampMs() const override;
24 uint32_t Source() const override;
25
26 private:
27 const webrtc::RtpSource source_;
28
29 DISALLOW_COPY_AND_ASSIGN(RTCRtpContributingSource);
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_RTC_RTP_CONTRIBUTING_SOURCE_H_
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/webrtc/rtc_rtp_contributing_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698