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

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

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
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 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 11 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
12 12
13 #include <string.h> 13 #include <string.h>
14 14
15 #include "webrtc/base/logging.h" 15 #include "webrtc/base/logging.h"
16 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" 16 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h"
17 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 17 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
18 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.h"
19 18
20 namespace webrtc { 19 namespace webrtc {
21 20
22 RtpData* NullObjectRtpData() { 21 RtpData* NullObjectRtpData() {
23 static NullRtpData null_rtp_data; 22 static NullRtpData null_rtp_data;
24 return &null_rtp_data; 23 return &null_rtp_data;
25 } 24 }
26 25
27 RtpFeedback* NullObjectRtpFeedback() { 26 RtpFeedback* NullObjectRtpFeedback() {
28 static NullRtpFeedback null_rtp_feedback; 27 static NullRtpFeedback null_rtp_feedback;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 if (*ptr != 0) { 459 if (*ptr != 0) {
461 return num_zero_bytes; 460 return num_zero_bytes;
462 } 461 }
463 ptr++; 462 ptr++;
464 num_zero_bytes++; 463 num_zero_bytes++;
465 } 464 }
466 return num_zero_bytes; 465 return num_zero_bytes;
467 } 466 }
468 } // namespace RtpUtility 467 } // namespace RtpUtility
469 } // namespace webrtc 468 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc ('k') | webrtc/modules/rtp_rtcp/test/testAPI/test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698