| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 public: | 73 public: |
| 74 MOCK_METHOD2(StatisticsUpdated, void(const RtcpStatistics&, uint32_t)); | 74 MOCK_METHOD2(StatisticsUpdated, void(const RtcpStatistics&, uint32_t)); |
| 75 MOCK_METHOD2(CNameChanged, void(const char*, uint32_t)); | 75 MOCK_METHOD2(CNameChanged, void(const char*, uint32_t)); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 class MockTransportFeedbackObserver : public TransportFeedbackObserver { | 78 class MockTransportFeedbackObserver : public TransportFeedbackObserver { |
| 79 public: | 79 public: |
| 80 MOCK_METHOD2(AddPacket, void(uint16_t, size_t)); | 80 MOCK_METHOD2(AddPacket, void(uint16_t, size_t)); |
| 81 MOCK_METHOD3(AddPacket, void(uint16_t, size_t, const PacedPacketInfo&)); | 81 MOCK_METHOD3(AddPacket, void(uint16_t, size_t, const PacedPacketInfo&)); |
| 82 MOCK_METHOD1(OnTransportFeedback, void(const rtcp::TransportFeedback&)); | 82 MOCK_METHOD1(OnTransportFeedback, void(const rtcp::TransportFeedback&)); |
| 83 MOCK_CONST_METHOD0(GetTransportFeedbackVector, std::vector<PacketInfo>()); | 83 MOCK_CONST_METHOD0(GetTransportFeedbackVector, std::vector<PacketFeedback>()); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 class MockRtcpBandwidthObserver : public RtcpBandwidthObserver { | 86 class MockRtcpBandwidthObserver : public RtcpBandwidthObserver { |
| 87 public: | 87 public: |
| 88 MOCK_METHOD1(OnReceivedEstimatedBitrate, void(uint32_t)); | 88 MOCK_METHOD1(OnReceivedEstimatedBitrate, void(uint32_t)); |
| 89 MOCK_METHOD3(OnReceivedRtcpReceiverReport, | 89 MOCK_METHOD3(OnReceivedRtcpReceiverReport, |
| 90 void(const ReportBlockList&, int64_t, int64_t)); | 90 void(const ReportBlockList&, int64_t, int64_t)); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 class MockModuleRtpRtcp : public RTCPReceiver::ModuleRtpRtcp { | 93 class MockModuleRtpRtcp : public RTCPReceiver::ModuleRtpRtcp { |
| (...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1309 | 1309 |
| 1310 rtcp::ExtendedReports xr; | 1310 rtcp::ExtendedReports xr; |
| 1311 xr.SetTargetBitrate(bitrate); | 1311 xr.SetTargetBitrate(bitrate); |
| 1312 | 1312 |
| 1313 EXPECT_CALL(bitrate_allocation_observer_, | 1313 EXPECT_CALL(bitrate_allocation_observer_, |
| 1314 OnBitrateAllocationUpdated(expected_allocation)); | 1314 OnBitrateAllocationUpdated(expected_allocation)); |
| 1315 InjectRtcpPacket(xr); | 1315 InjectRtcpPacket(xr); |
| 1316 } | 1316 } |
| 1317 | 1317 |
| 1318 } // namespace webrtc | 1318 } // namespace webrtc |
| OLD | NEW |