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

Side by Side Diff: webrtc/modules/rtp_rtcp/test/testAPI/test_api.h

Issue 2449523002: Revert of Fix chromium-style warnings. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_utility.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_ 10 #ifndef WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_
11 #define WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_ 11 #define WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_
12 12
13 #include "webrtc/common_types.h" 13 #include "webrtc/common_types.h"
14 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" 14 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h"
15 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" 15 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
16 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" 16 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h"
17 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" 17 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h"
18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
20 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.h"
21 #include "webrtc/test/gtest.h" 20 #include "webrtc/test/gtest.h"
22 #include "webrtc/transport.h" 21 #include "webrtc/transport.h"
23 22
24 namespace webrtc { 23 namespace webrtc {
25 24
26 // This class sends all its packet straight to the provided RtpRtcp module. 25 // This class sends all its packet straight to the provided RtpRtcp module.
27 // with optional packet loss. 26 // with optional packet loss.
28 class LoopBackTransport : public Transport { 27 class LoopBackTransport : public Transport {
29 public: 28 public:
30 LoopBackTransport() 29 LoopBackTransport()
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 webrtc::WebRtcRTPHeader rtp_header() const { return rtp_header_; } 63 webrtc::WebRtcRTPHeader rtp_header() const { return rtp_header_; }
65 64
66 private: 65 private:
67 uint8_t payload_data_[1500]; 66 uint8_t payload_data_[1500];
68 size_t payload_size_; 67 size_t payload_size_;
69 webrtc::WebRtcRTPHeader rtp_header_; 68 webrtc::WebRtcRTPHeader rtp_header_;
70 }; 69 };
71 70
72 } // namespace webrtc 71 } // namespace webrtc
73 #endif // WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_ 72 #endif // WEBRTC_MODULES_RTP_RTCP_TEST_TESTAPI_TEST_API_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_utility.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698