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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « base/mac/libdispatch_task_runner_unittest.cc ('k') | base/mac/mach_logging.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/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), \ 80 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), \
81 DLOG_IS_ON(severity) && (condition)) 81 DLOG_IS_ON(severity) && (condition))
82 82
83 #define OSSTATUS_DVLOG(verbose_level, status) \ 83 #define OSSTATUS_DVLOG(verbose_level, status) \
84 LAZY_STREAM(OSSTATUS_VLOG_STREAM(verbose_level, status), \ 84 LAZY_STREAM(OSSTATUS_VLOG_STREAM(verbose_level, status), \
85 MAC_DVLOG_IS_ON(verbose_level)) 85 MAC_DVLOG_IS_ON(verbose_level))
86 #define OSSTATUS_DVLOG_IF(verbose_level, condition, status) \ 86 #define OSSTATUS_DVLOG_IF(verbose_level, condition, status) \
87 LAZY_STREAM(OSSTATUS_VLOG_STREAM(verbose_level, status), \ 87 LAZY_STREAM(OSSTATUS_VLOG_STREAM(verbose_level, status), \
88 MAC_DVLOG_IS_ON(verbose_level) && (condition)) 88 MAC_DVLOG_IS_ON(verbose_level) && (condition))
89 89
90 #define OSSTATUS_DCHECK(condition, status) \ 90 #define OSSTATUS_DCHECK(condition, status) \
91 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), \ 91 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), \
92 DCHECK_IS_ON && !(condition)) \ 92 DCHECK_IS_ON() && !(condition)) \
93 << "Check failed: " # condition << ". " 93 << "Check failed: " #condition << ". "
94 94
95 #endif // BASE_MAC_MAC_LOGGING_H_ 95 #endif // BASE_MAC_MAC_LOGGING_H_
OLDNEW
« no previous file with comments | « base/mac/libdispatch_task_runner_unittest.cc ('k') | base/mac/mach_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698