diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 03:06:12 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 03:06:12 +0000 |
commit | 2f4a8e1220d91ba95c2c46ec232dd53d27807ecd (patch) | |
tree | a353800ca5728e7c26423af7cccedf9812404d9a /base/mime_util_xdg.cc | |
parent | 27488c22fe34d431fa34576032d8a0fc92b61572 (diff) | |
download | chromium_src-2f4a8e1220d91ba95c2c46ec232dd53d27807ecd.zip chromium_src-2f4a8e1220d91ba95c2c46ec232dd53d27807ecd.tar.gz chromium_src-2f4a8e1220d91ba95c2c46ec232dd53d27807ecd.tar.bz2 |
Revert 107042 - Replace most LOG/CHECK statements with DLOG/DCHECK statements in base.
I tried hard not to change CHECKs that had side effects. I kept fatal checks
that seemed security or debugging-info (in crash reports) sensitive, and ones
that seems particularly well-conceived.
Review URL: http://codereview.chromium.org/8368009
TBR=brettw@chromium.org
Review URL: http://codereview.chromium.org/8351025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mime_util_xdg.cc')
-rw-r--r-- | base/mime_util_xdg.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/mime_util_xdg.cc b/base/mime_util_xdg.cc index 294638d..a25a0d5 100644 --- a/base/mime_util_xdg.cc +++ b/base/mime_util_xdg.cc @@ -371,7 +371,7 @@ bool IconTheme::SetDirectories(const std::string& dirs) { while ((epos = dirs.find(',', pos)) != std::string::npos) { TrimWhitespaceASCII(dirs.substr(pos, epos - pos), TRIM_ALL, &dir); if (dir.length() == 0) { - DLOG(WARNING) << "Invalid index.theme: blank subdir"; + LOG(WARNING) << "Invalid index.theme: blank subdir"; return false; } subdirs_[dir] = num++; @@ -379,7 +379,7 @@ bool IconTheme::SetDirectories(const std::string& dirs) { } TrimWhitespaceASCII(dirs.substr(pos), TRIM_ALL, &dir); if (dir.length() == 0) { - DLOG(WARNING) << "Invalid index.theme: blank subdir"; + LOG(WARNING) << "Invalid index.theme: blank subdir"; return false; } subdirs_[dir] = num++; |