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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_header_parser.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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" 10 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h"
11 11
12 #include "webrtc/base/scoped_ptr.h" 12 #include "webrtc/base/scoped_ptr.h"
13 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" 13 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h"
14 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 14 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
15 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" 15 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
16 16
17 namespace webrtc { 17 namespace webrtc {
18 18
19 class RtpHeaderParserImpl : public RtpHeaderParser { 19 class RtpHeaderParserImpl : public RtpHeaderParser {
20 public: 20 public:
21 RtpHeaderParserImpl(); 21 RtpHeaderParserImpl();
22 virtual ~RtpHeaderParserImpl() {} 22 virtual ~RtpHeaderParserImpl() {}
23 23
24 bool Parse(const uint8_t* packet, 24 bool Parse(const uint8_t* packet,
25 size_t length, 25 size_t length,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 uint8_t id) { 69 uint8_t id) {
70 CriticalSectionScoped cs(critical_section_.get()); 70 CriticalSectionScoped cs(critical_section_.get());
71 return rtp_header_extension_map_.Register(type, id) == 0; 71 return rtp_header_extension_map_.Register(type, id) == 0;
72 } 72 }
73 73
74 bool RtpHeaderParserImpl::DeregisterRtpHeaderExtension(RTPExtensionType type) { 74 bool RtpHeaderParserImpl::DeregisterRtpHeaderExtension(RTPExtensionType type) {
75 CriticalSectionScoped cs(critical_section_.get()); 75 CriticalSectionScoped cs(critical_section_.get());
76 return rtp_header_extension_map_.Deregister(type) == 0; 76 return rtp_header_extension_map_.Deregister(type) == 0;
77 } 77 }
78 } // namespace webrtc 78 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698