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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_packet.h

Issue 1917043005: #include "webrtc/base/constructormagic.h" where appropriate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_PACKET_H_ 10 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_PACKET_H_
11 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_PACKET_H_ 11 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_PACKET_H_
12 12
13 #include <vector> 13 #include <vector>
14 14
15 #include "webrtc/base/basictypes.h" 15 #include "webrtc/base/basictypes.h"
16 #include "webrtc/base/buffer.h" 16 #include "webrtc/base/buffer.h"
17 #include "webrtc/base/constructormagic.h"
17 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
18 19
19 namespace webrtc { 20 namespace webrtc {
20 struct RTPHeader; 21 struct RTPHeader;
21 class RtpHeaderExtensionMap; 22 class RtpHeaderExtensionMap;
22 class Random; 23 class Random;
23 24
24 namespace rtp { 25 namespace rtp {
25 class Packet { 26 class Packet {
26 public: 27 public:
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 uint16_t offset = 0; 178 uint16_t offset = 0;
178 if (!AllocateExtension(Extension::kId, Extension::kValueSizeBytes, &offset)) 179 if (!AllocateExtension(Extension::kId, Extension::kValueSizeBytes, &offset))
179 return false; 180 return false;
180 memset(WriteAt(offset), 0, Extension::kValueSizeBytes); 181 memset(WriteAt(offset), 0, Extension::kValueSizeBytes);
181 return true; 182 return true;
182 } 183 }
183 } // namespace rtp 184 } // namespace rtp
184 } // namespace webrtc 185 } // namespace webrtc
185 186
186 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_PACKET_H_ 187 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_PACKET_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698