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

Side by Side Diff: webrtc/test/fuzzers/transport_feedback_packet_loss_tracker_fuzzer.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 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) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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
11 #include <algorithm> 11 #include <algorithm>
12 12
13 #include "webrtc/base/array_view.h"
14 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 13 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
15 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 14 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
16 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 15 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
16 #include "webrtc/rtc_base/array_view.h"
17 #include "webrtc/voice_engine/transport_feedback_packet_loss_tracker.h" 17 #include "webrtc/voice_engine/transport_feedback_packet_loss_tracker.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 20
21 namespace { 21 namespace {
22 22
23 template <typename T> 23 template <typename T>
24 T FuzzInput(const uint8_t** data, size_t* size) { 24 T FuzzInput(const uint8_t** data, size_t* size) {
25 RTC_CHECK_GE(*size, sizeof(T)); 25 RTC_CHECK_GE(*size, sizeof(T));
26 T rc = ByteReader<T>::ReadBigEndian(*data); 26 T rc = ByteReader<T>::ReadBigEndian(*data);
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 while (may_continue) { 270 while (may_continue) {
271 may_continue = FuzzPacketSendBlock(tracker, &data, &size, &time_ms); 271 may_continue = FuzzPacketSendBlock(tracker, &data, &size, &time_ms);
272 if (!may_continue) { 272 if (!may_continue) {
273 return; 273 return;
274 } 274 }
275 may_continue = FuzzTransportFeedbackBlock(tracker, &data, &size); 275 may_continue = FuzzTransportFeedbackBlock(tracker, &data, &size);
276 } 276 }
277 } 277 }
278 278
279 } // namespace webrtc 279 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/fuzzers/rtcp_receiver_fuzzer.cc ('k') | webrtc/test/fuzzers/ulpfec_generator_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698