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

Unified Diff: components/sync/base/logging.h

Issue 2731823002: Replace use of logging::DEBUG_MODE with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/logging_unittest.cc ('k') | components/sync/engine_impl/traffic_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/logging.h
diff --git a/components/sync/base/logging.h b/components/sync/base/logging.h
index 5dd9d4fbfe2d9b34aaa32422dfd5dc8d1658e82d..ee9a4c38634938d91f914013c6f29188e92e572d 100644
--- a/components/sync/base/logging.h
+++ b/components/sync/base/logging.h
@@ -27,7 +27,7 @@ bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
#define DVLOG_LOC(from_here, verbose_level) \
LAZY_STREAM(VLOG_LOC_STREAM(from_here, verbose_level), \
- ::logging::DEBUG_MODE && \
+ DCHECK_IS_ON() && \
(VLOG_IS_ON(verbose_level) || \
::syncer::VlogIsOnForLocation(from_here, verbose_level)))
« no previous file with comments | « base/logging_unittest.cc ('k') | components/sync/engine_impl/traffic_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698