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

Side by Side Diff: webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h

Issue 1213603002: Remove ResetStatistics from RTP feedback. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove more data counter resetting. Created 5 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) 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 int64_t* avgRTT, 154 int64_t* avgRTT,
155 int64_t* minRTT, 155 int64_t* minRTT,
156 int64_t* maxRTT)); 156 int64_t* maxRTT));
157 MOCK_METHOD1(SendRTCP, int32_t(RTCPPacketType packetType)); 157 MOCK_METHOD1(SendRTCP, int32_t(RTCPPacketType packetType));
158 MOCK_METHOD1(SendCompoundRTCP, 158 MOCK_METHOD1(SendCompoundRTCP,
159 int32_t(const std::set<RTCPPacketType>& packetTypes)); 159 int32_t(const std::set<RTCPPacketType>& packetTypes));
160 MOCK_METHOD1(SendRTCPReferencePictureSelection, 160 MOCK_METHOD1(SendRTCPReferencePictureSelection,
161 int32_t(const uint64_t pictureID)); 161 int32_t(const uint64_t pictureID));
162 MOCK_METHOD1(SendRTCPSliceLossIndication, 162 MOCK_METHOD1(SendRTCPSliceLossIndication,
163 int32_t(const uint8_t pictureID)); 163 int32_t(const uint8_t pictureID));
164 MOCK_METHOD0(ResetSendDataCountersRTP,
165 int32_t());
166 MOCK_CONST_METHOD2(DataCountersRTP, 164 MOCK_CONST_METHOD2(DataCountersRTP,
167 int32_t(size_t *bytesSent, uint32_t *packetsSent)); 165 int32_t(size_t *bytesSent, uint32_t *packetsSent));
168 MOCK_CONST_METHOD2(GetSendStreamDataCounters, 166 MOCK_CONST_METHOD2(GetSendStreamDataCounters,
169 void(StreamDataCounters*, StreamDataCounters*)); 167 void(StreamDataCounters*, StreamDataCounters*));
170 MOCK_METHOD1(RemoteRTCPStat, 168 MOCK_METHOD1(RemoteRTCPStat,
171 int32_t(RTCPSenderInfo* senderInfo)); 169 int32_t(RTCPSenderInfo* senderInfo));
172 MOCK_CONST_METHOD1(RemoteRTCPStat, 170 MOCK_CONST_METHOD1(RemoteRTCPStat,
173 int32_t(std::vector<RTCPReportBlock>* receiveBlocks)); 171 int32_t(std::vector<RTCPReportBlock>* receiveBlocks));
174 MOCK_METHOD4(SetRTCPApplicationSpecificData, 172 MOCK_METHOD4(SetRTCPApplicationSpecificData,
175 int32_t(const uint8_t subType, const uint32_t name, const uint8_t* data, c onst uint16_t length)); 173 int32_t(const uint8_t subType, const uint32_t name, const uint8_t* data, c onst uint16_t length));
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 void(StreamDataCountersCallback*)); 251 void(StreamDataCountersCallback*));
254 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, 252 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback,
255 StreamDataCountersCallback*(void)); 253 StreamDataCountersCallback*(void));
256 // Members. 254 // Members.
257 unsigned int remote_ssrc_; 255 unsigned int remote_ssrc_;
258 }; 256 };
259 257
260 } // namespace webrtc 258 } // namespace webrtc
261 259
262 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 260 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698