| OLD | NEW |
| 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 #include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h" | 11 #include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h" |
| 12 | 12 |
| 13 #include "webrtc/base/arraysize.h" |
| 14 #include "webrtc/base/checks.h" |
| 15 #include "webrtc/base/logging.h" |
| 13 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" | 16 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" |
| 14 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 17 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 15 #include "webrtc/rtc_base/arraysize.h" | |
| 16 #include "webrtc/rtc_base/checks.h" | |
| 17 #include "webrtc/rtc_base/logging.h" | |
| 18 | 18 |
| 19 namespace webrtc { | 19 namespace webrtc { |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 using RtpUtility::Word32Align; | 22 using RtpUtility::Word32Align; |
| 23 | 23 |
| 24 struct ExtensionInfo { | 24 struct ExtensionInfo { |
| 25 RTPExtensionType type; | 25 RTPExtensionType type; |
| 26 const char* uri; | 26 const char* uri; |
| 27 }; | 27 }; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 return false; | 139 return false; |
| 140 } | 140 } |
| 141 RTC_DCHECK(!IsRegistered(type)); | 141 RTC_DCHECK(!IsRegistered(type)); |
| 142 | 142 |
| 143 types_[id] = type; | 143 types_[id] = type; |
| 144 ids_[type] = id; | 144 ids_[type] = id; |
| 145 return true; | 145 return true; |
| 146 } | 146 } |
| 147 | 147 |
| 148 } // namespace webrtc | 148 } // namespace webrtc |
| OLD | NEW |