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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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
11 /* 11 /*
12 * This file includes unit tests for the RTPSender. 12 * This file includes unit tests for the RTPSender.
13 */ 13 */
14 14
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 #include "webrtc/base/buffer.h" 18 #include "webrtc/base/buffer.h"
19 #include "webrtc/base/scoped_ptr.h" 19 #include "webrtc/base/scoped_ptr.h"
20 #include "webrtc/modules/rtp_rtcp/interface/rtp_cvo.h" 20 #include "webrtc/modules/rtp_rtcp/interface/rtp_cvo.h"
21 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" 21 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h"
22 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" 22 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h"
24 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" 24 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h"
25 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" 25 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h"
26 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h" 26 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h"
27 #include "webrtc/system_wrappers/interface/stl_util.h" 27 #include "webrtc/system_wrappers/include/stl_util.h"
28 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 28 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
29 #include "webrtc/test/mock_transport.h" 29 #include "webrtc/test/mock_transport.h"
30 #include "webrtc/typedefs.h" 30 #include "webrtc/typedefs.h"
31 31
32 namespace webrtc { 32 namespace webrtc {
33 33
34 namespace { 34 namespace {
35 const int kTransmissionTimeOffsetExtensionId = 1; 35 const int kTransmissionTimeOffsetExtensionId = 1;
36 const int kAbsoluteSendTimeExtensionId = 14; 36 const int kAbsoluteSendTimeExtensionId = 14;
37 const int kTransportSequenceNumberExtensionId = 13; 37 const int kTransportSequenceNumberExtensionId = 13;
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 reinterpret_cast<uint8_t*>(transport_.sent_packets_[0]->data()), 1420 reinterpret_cast<uint8_t*>(transport_.sent_packets_[0]->data()),
1421 transport_.sent_packets_[0]->size(), true, &map, kSeqNum, hdr.rotation); 1421 transport_.sent_packets_[0]->size(), true, &map, kSeqNum, hdr.rotation);
1422 1422
1423 // Verify that this packet does have CVO byte. 1423 // Verify that this packet does have CVO byte.
1424 VerifyCVOPacket( 1424 VerifyCVOPacket(
1425 reinterpret_cast<uint8_t*>(transport_.sent_packets_[1]->data()), 1425 reinterpret_cast<uint8_t*>(transport_.sent_packets_[1]->data()),
1426 transport_.sent_packets_[1]->size(), true, &map, kSeqNum + 1, 1426 transport_.sent_packets_[1]->size(), true, &map, kSeqNum + 1,
1427 hdr.rotation); 1427 hdr.rotation);
1428 } 1428 }
1429 } // namespace webrtc 1429 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698