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

Side by Side Diff: base/mac/mac_logging.h

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep a comment Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « base/logging_unittest.cc ('k') | base/metrics/histogram.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_MAC_MAC_LOGGING_H_ 5 #ifndef BASE_MAC_MAC_LOGGING_H_
6 #define BASE_MAC_MAC_LOGGING_H_ 6 #define BASE_MAC_MAC_LOGGING_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 #define OSSTATUS_DVLOG(verbose_level, status) \ 75 #define OSSTATUS_DVLOG(verbose_level, status) \
76 LAZY_STREAM(OSSTATUS_VPLOG_STREAM(verbose_level, status), \ 76 LAZY_STREAM(OSSTATUS_VPLOG_STREAM(verbose_level, status), \
77 DVLOG_IS_ON(verbose_level)) 77 DVLOG_IS_ON(verbose_level))
78 #define OSSTATUS_DVLOG_IF(verbose_level, condition, status) \ 78 #define OSSTATUS_DVLOG_IF(verbose_level, condition, status) \
79 LAZY_STREAM(OSSTATUS_VPLOG_STREAM(verbose_level, status) \ 79 LAZY_STREAM(OSSTATUS_VPLOG_STREAM(verbose_level, status) \
80 DVLOG_IS_ON(verbose_level) && (condition)) 80 DVLOG_IS_ON(verbose_level) && (condition))
81 81
82 #define OSSTATUS_DCHECK(condition, status) \ 82 #define OSSTATUS_DCHECK(condition, status) \
83 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), \ 83 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), \
84 DCHECK_IS_ON() && !(condition)) \ 84 DCHECK_IS_ON && !(condition)) \
85 << "Check failed: " # condition << ". " 85 << "Check failed: " # condition << ". "
86 86
87 #endif // BASE_MAC_MAC_LOGGING_H_ 87 #endif // BASE_MAC_MAC_LOGGING_H_
OLDNEW
« no previous file with comments | « base/logging_unittest.cc ('k') | base/metrics/histogram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698