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

Side by Side Diff: webrtc/base/physicalsocketserver.cc

Issue 2325623002: webrtc/base: Use RTC_DCHECK() instead of assert() (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « webrtc/base/nattypes.cc ('k') | webrtc/base/sec_buffer.h » ('j') | 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 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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/base/physicalsocketserver.h" 10 #include "webrtc/base/physicalsocketserver.h"
11 11
12 #if defined(_MSC_VER) && _MSC_VER < 1300 12 #if defined(_MSC_VER) && _MSC_VER < 1300
13 #pragma warning(disable:4786) 13 #pragma warning(disable:4786)
14 #endif 14 #endif
15 15
16 #include <assert.h>
17
18 #ifdef MEMORY_SANITIZER 16 #ifdef MEMORY_SANITIZER
19 #include <sanitizer/msan_interface.h> 17 #include <sanitizer/msan_interface.h>
20 #endif 18 #endif
21 19
22 #if defined(WEBRTC_POSIX) 20 #if defined(WEBRTC_POSIX)
23 #include <string.h> 21 #include <string.h>
24 #include <errno.h> 22 #include <errno.h>
25 #include <fcntl.h> 23 #include <fcntl.h>
26 #include <sys/ioctl.h> 24 #include <sys/ioctl.h>
27 #include <sys/time.h> 25 #include <sys/time.h>
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after
1656 break; 1654 break;
1657 } 1655 }
1658 } 1656 }
1659 1657
1660 // Done 1658 // Done
1661 return true; 1659 return true;
1662 } 1660 }
1663 #endif // WEBRTC_WIN 1661 #endif // WEBRTC_WIN
1664 1662
1665 } // namespace rtc 1663 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/nattypes.cc ('k') | webrtc/base/sec_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698