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

Side by Side Diff: webrtc/rtc_base/checks.h

Issue 2962303003: Revert "Update includes for webrtc/{base => rtc_base} rename (3/3)" (Closed)
Patch Set: Created 3 years, 5 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/rtc_base/callback_unittest.cc ('k') | webrtc/rtc_base/checks.cc » ('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 2006 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2006 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
(...skipping 18 matching lines...) Expand all
29 #ifdef __cplusplus 29 #ifdef __cplusplus
30 } // extern "C" 30 } // extern "C"
31 #endif 31 #endif
32 32
33 #ifdef __cplusplus 33 #ifdef __cplusplus
34 // C++ version. 34 // C++ version.
35 35
36 #include <sstream> 36 #include <sstream>
37 #include <string> 37 #include <string>
38 38
39 #include "webrtc/rtc_base/safe_compare.h" 39 #include "webrtc/base/safe_compare.h"
40 40
41 // The macros here print a message to stderr and abort under various 41 // The macros here print a message to stderr and abort under various
42 // conditions. All will accept additional stream messages. For example: 42 // conditions. All will accept additional stream messages. For example:
43 // RTC_DCHECK_EQ(foo, bar) << "I'm printed when foo != bar."; 43 // RTC_DCHECK_EQ(foo, bar) << "I'm printed when foo != bar.";
44 // 44 //
45 // - RTC_CHECK(x) is an assertion that x is always true, and that if it isn't, 45 // - RTC_CHECK(x) is an assertion that x is always true, and that if it isn't,
46 // it's better to terminate the process than to continue. During development, 46 // it's better to terminate the process than to continue. During development,
47 // the reason that it's better to terminate might simply be that the error 47 // the reason that it's better to terminate might simply be that the error
48 // handling code isn't in place yet; in production, the reason might be that 48 // handling code isn't in place yet; in production, the reason might be that
49 // the author of the code truly believes that x will always be true, but that 49 // the author of the code truly believes that x will always be true, but that
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 #define RTC_DCHECK_EQ(a, b) RTC_DCHECK((a) == (b)) 280 #define RTC_DCHECK_EQ(a, b) RTC_DCHECK((a) == (b))
281 #define RTC_DCHECK_NE(a, b) RTC_DCHECK((a) != (b)) 281 #define RTC_DCHECK_NE(a, b) RTC_DCHECK((a) != (b))
282 #define RTC_DCHECK_LE(a, b) RTC_DCHECK((a) <= (b)) 282 #define RTC_DCHECK_LE(a, b) RTC_DCHECK((a) <= (b))
283 #define RTC_DCHECK_LT(a, b) RTC_DCHECK((a) < (b)) 283 #define RTC_DCHECK_LT(a, b) RTC_DCHECK((a) < (b))
284 #define RTC_DCHECK_GE(a, b) RTC_DCHECK((a) >= (b)) 284 #define RTC_DCHECK_GE(a, b) RTC_DCHECK((a) >= (b))
285 #define RTC_DCHECK_GT(a, b) RTC_DCHECK((a) > (b)) 285 #define RTC_DCHECK_GT(a, b) RTC_DCHECK((a) > (b))
286 286
287 #endif // __cplusplus 287 #endif // __cplusplus
288 288
289 #endif // WEBRTC_RTC_BASE_CHECKS_H_ 289 #endif // WEBRTC_RTC_BASE_CHECKS_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_base/callback_unittest.cc ('k') | webrtc/rtc_base/checks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698