summaryrefslogtreecommitdiffstats
path: root/base/string_split.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 19:36:52 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 19:36:52 +0000
commit7f8d21b4fc4484abf533b8da9fc9b99a6d0c73de (patch)
tree64450d711594371f348df363360bd9de486f434f /base/string_split.cc
parent761e7160090e0643dc265067e7f833aeedbf9e21 (diff)
downloadchromium_src-7f8d21b4fc4484abf533b8da9fc9b99a6d0c73de.zip
chromium_src-7f8d21b4fc4484abf533b8da9fc9b99a6d0c73de.tar.gz
chromium_src-7f8d21b4fc4484abf533b8da9fc9b99a6d0c73de.tar.bz2
Convert LOG(INFO) to VLOG(1) - base/.
Also removes an "else" after "return" and aligns "<<" per style guide. BUG=none TEST=none Review URL: http://codereview.chromium.org/3845002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_split.cc')
-rw-r--r--base/string_split.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/string_split.cc b/base/string_split.cc
index b6e251f..bc7955d 100644
--- a/base/string_split.cc
+++ b/base/string_split.cc
@@ -67,7 +67,7 @@ bool SplitStringIntoKeyValues(
// Find the key string.
size_t end_key_pos = line.find_first_of(key_value_delimiter);
if (end_key_pos == std::string::npos) {
- DLOG(INFO) << "cannot parse key from line: " << line;
+ DVLOG(1) << "cannot parse key from line: " << line;
return false; // no key
}
key->assign(line, 0, end_key_pos);
@@ -76,7 +76,7 @@ bool SplitStringIntoKeyValues(
std::string remains(line, end_key_pos, line.size() - end_key_pos);
size_t begin_values_pos = remains.find_first_not_of(key_value_delimiter);
if (begin_values_pos == std::string::npos) {
- DLOG(INFO) << "cannot parse value from line: " << line;
+ DVLOG(1) << "cannot parse value from line: " << line;
return false; // no value
}
std::string values_string(remains, begin_values_pos,