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

Side by Side Diff: webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller.h

Issue 2094863003: Reland of "Revert of Update the BWE when the network route changes. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 5 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 (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 17 matching lines...) Expand all
28 class MockBitrateController : public BitrateController { 28 class MockBitrateController : public BitrateController {
29 public: 29 public:
30 MOCK_METHOD0(CreateRtcpBandwidthObserver, RtcpBandwidthObserver*()); 30 MOCK_METHOD0(CreateRtcpBandwidthObserver, RtcpBandwidthObserver*());
31 MOCK_METHOD1(SetStartBitrate, void(int start_bitrate_bps)); 31 MOCK_METHOD1(SetStartBitrate, void(int start_bitrate_bps));
32 MOCK_METHOD2(SetMinMaxBitrate, 32 MOCK_METHOD2(SetMinMaxBitrate,
33 void(int min_bitrate_bps, int max_bitrate_bps)); 33 void(int min_bitrate_bps, int max_bitrate_bps));
34 MOCK_METHOD3(SetBitrates, 34 MOCK_METHOD3(SetBitrates,
35 void(int start_bitrate_bps, 35 void(int start_bitrate_bps,
36 int min_bitrate_bps, 36 int min_bitrate_bps,
37 int max_bitrate_bps)); 37 int max_bitrate_bps));
38 MOCK_METHOD3(ResetBitrates,
39 void(int bitrate_bps, int min_bitrate_bps, int max_bitrate_bps));
38 MOCK_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps)); 40 MOCK_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps));
39 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log)); 41 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log));
40 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth)); 42 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth));
41 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps)); 43 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps));
42 MOCK_METHOD3(GetNetworkParameters, 44 MOCK_METHOD3(GetNetworkParameters,
43 bool(uint32_t* bitrate, uint8_t* fraction_loss, int64_t* rtt)); 45 bool(uint32_t* bitrate, uint8_t* fraction_loss, int64_t* rtt));
44 46
45 MOCK_METHOD0(Process, void()); 47 MOCK_METHOD0(Process, void());
46 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); 48 MOCK_METHOD0(TimeUntilNextProcess, int64_t());
47 }; 49 };
48 } // namespace test 50 } // namespace test
49 } // namespace webrtc 51 } // namespace webrtc
50 52
51 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE R_H_ 53 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698