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

Unified Diff: base/process_util_openbsd.cc

Issue 8368009: Replace most LOG statements with DLOG statements in base. (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 | « base/process_util_mac.mm ('k') | base/process_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_openbsd.cc
===================================================================
--- base/process_util_openbsd.cc (revision 106858)
+++ base/process_util_openbsd.cc (working copy)
@@ -64,7 +64,7 @@
do {
size_t len = 0;
if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) {
- LOG(ERROR) << "failed to get the size needed for the process list";
+ DLOG(ERROR) << "failed to get the size needed for the process list";
kinfo_procs_.resize(0);
done = true;
} else {
@@ -78,7 +78,7 @@
// If we get a mem error, it just means we need a bigger buffer, so
// loop around again. Anything else is a real error and give up.
if (errno != ENOMEM) {
- LOG(ERROR) << "failed to get the process list";
+ DLOG(ERROR) << "failed to get the process list";
kinfo_procs_.resize(0);
done = true;
}
@@ -92,7 +92,7 @@
} while (!done && (try_num++ < max_tries));
if (!done) {
- LOG(ERROR) << "failed to collect the process list in a few tries";
+ DDLOG(ERROR) << "failed to collect the process list in a few tries";
kinfo_procs_.resize(0);
}
}
@@ -137,7 +137,7 @@
// to populate |entry_.exe_file_|.
size_t exec_name_end = data.find('\0');
if (exec_name_end == std::string::npos) {
- LOG(ERROR) << "command line data didn't match expected format";
+ DLOG(ERROR) << "command line data didn't match expected format";
continue;
}
« no previous file with comments | « base/process_util_mac.mm ('k') | base/process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698