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

Side by Side Diff: webrtc/pc/peerconnection.h

Issue 2888303005: Add PeerConnectionInterface::UpdateCallBitrate. (Closed)
Patch Set: Implement SetBitrate in PeerConnectionInterface to avoid breaking chromium mock. Created 3 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool SetConfiguration( 137 bool SetConfiguration(
138 const PeerConnectionInterface::RTCConfiguration& configuration) override { 138 const PeerConnectionInterface::RTCConfiguration& configuration) override {
139 return SetConfiguration(configuration, nullptr); 139 return SetConfiguration(configuration, nullptr);
140 } 140 }
141 bool AddIceCandidate(const IceCandidateInterface* candidate) override; 141 bool AddIceCandidate(const IceCandidateInterface* candidate) override;
142 bool RemoveIceCandidates( 142 bool RemoveIceCandidates(
143 const std::vector<cricket::Candidate>& candidates) override; 143 const std::vector<cricket::Candidate>& candidates) override;
144 144
145 void RegisterUMAObserver(UMAObserver* observer) override; 145 void RegisterUMAObserver(UMAObserver* observer) override;
146 146
147 RTCError SetBitrate(const BitrateParameters& bitrate) override;
148
147 bool StartRtcEventLog(rtc::PlatformFile file, 149 bool StartRtcEventLog(rtc::PlatformFile file,
148 int64_t max_size_bytes) override; 150 int64_t max_size_bytes) override;
149 void StopRtcEventLog() override; 151 void StopRtcEventLog() override;
150 152
151 void Close() override; 153 void Close() override;
152 154
153 sigslot::signal1<DataChannel*> SignalDataChannelCreated; 155 sigslot::signal1<DataChannel*> SignalDataChannelCreated;
154 156
155 // Virtual for unit tests. 157 // Virtual for unit tests.
156 virtual const std::vector<rtc::scoped_refptr<DataChannel>>& 158 virtual const std::vector<rtc::scoped_refptr<DataChannel>>&
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>> 448 std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>>
447 senders_; 449 senders_;
448 std::vector< 450 std::vector<
449 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>> 451 rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>>>
450 receivers_; 452 receivers_;
451 }; 453 };
452 454
453 } // namespace webrtc 455 } // namespace webrtc
454 456
455 #endif // WEBRTC_PC_PEERCONNECTION_H_ 457 #endif // WEBRTC_PC_PEERCONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698