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

Side by Side Diff: webrtc/test/fuzzers/flexfec_receiver_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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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/basictypes.h" 13 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h"
14 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 14 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
15 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h"
16 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 15 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
17 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" 16 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
17 #include "webrtc/rtc_base/basictypes.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 20
21 namespace { 21 namespace {
22 class DummyCallback : public RecoveredPacketReceiver { 22 class DummyCallback : public RecoveredPacketReceiver {
23 void OnRecoveredPacket(const uint8_t* packet, size_t length) override {} 23 void OnRecoveredPacket(const uint8_t* packet, size_t length) override {}
24 }; 24 };
25 } // namespace 25 } // namespace
26 26
27 void FuzzOneInput(const uint8_t* data, size_t size) { 27 void FuzzOneInput(const uint8_t* data, size_t size) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ByteWriter<uint32_t>::WriteBigEndian(packet.get() + 8, media_ssrc); 63 ByteWriter<uint32_t>::WriteBigEndian(packet.get() + 8, media_ssrc);
64 } 64 }
65 RtpPacketReceived parsed_packet; 65 RtpPacketReceived parsed_packet;
66 if (parsed_packet.Parse(packet.get(), packet_length)) { 66 if (parsed_packet.Parse(packet.get(), packet_length)) {
67 receiver.OnRtpPacket(parsed_packet); 67 receiver.OnRtpPacket(parsed_packet);
68 } 68 }
69 } 69 }
70 } 70 }
71 71
72 } // namespace webrtc 72 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/fuzzers/flexfec_header_reader_fuzzer.cc ('k') | webrtc/test/fuzzers/neteq_rtp_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698