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

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

Issue 2098703004: Revert of Revert "Revert of Update the BWE when the network route changes. (patchset #5 id:180001 of https://… (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));
40 MOCK_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps)); 38 MOCK_METHOD1(UpdateDelayBasedEstimate, void(uint32_t bitrate_bps));
41 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log)); 39 MOCK_METHOD1(SetEventLog, void(RtcEventLog* event_log));
42 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth)); 40 MOCK_CONST_METHOD1(AvailableBandwidth, bool(uint32_t* bandwidth));
43 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps)); 41 MOCK_METHOD1(SetReservedBitrate, void(uint32_t reserved_bitrate_bps));
44 MOCK_METHOD3(GetNetworkParameters, 42 MOCK_METHOD3(GetNetworkParameters,
45 bool(uint32_t* bitrate, uint8_t* fraction_loss, int64_t* rtt)); 43 bool(uint32_t* bitrate, uint8_t* fraction_loss, int64_t* rtt));
46 44
47 MOCK_METHOD0(Process, void()); 45 MOCK_METHOD0(Process, void());
48 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); 46 MOCK_METHOD0(TimeUntilNextProcess, int64_t());
49 }; 47 };
50 } // namespace test 48 } // namespace test
51 } // namespace webrtc 49 } // namespace webrtc
52 50
53 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE R_H_ 51 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_MOCK_MOCK_BITRATE_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698