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

Unified Diff: chrome/common/metrics_helpers.cc

Issue 8368018: Convert chrome/common non-debug logs to debug logs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « chrome/common/mac/objc_zombie_unittest.mm ('k') | chrome/common/metrics_log_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/metrics_helpers.cc
===================================================================
--- chrome/common/metrics_helpers.cc (revision 107051)
+++ chrome/common/metrics_helpers.cc (working copy)
@@ -47,7 +47,7 @@
buffer_(NULL),
writer_(NULL) {
buffer_ = xmlBufferCreate();
- CHECK(buffer_);
+ DCHECK(buffer_);
#if defined(OS_CHROMEOS)
writer_ = xmlNewTextWriterDoc(&doc_, /* compression */ 0);
@@ -197,8 +197,8 @@
// name. We can then use this logging to find out what histogram name was
// being hashed to a given MD5 value by just running the version of Chromium
// in question with --enable-logging.
- VLOG(1) << "Metrics: Hash numeric [" << value
- << "]=[" << reverse_uint64 << "]";
+ DVLOG(1) << "Metrics: Hash numeric [" << value
+ << "]=[" << reverse_uint64 << "]";
return std::string(reinterpret_cast<char*>(digest.a), arraysize(digest.a));
}
« no previous file with comments | « chrome/common/mac/objc_zombie_unittest.mm ('k') | chrome/common/metrics_log_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698