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-19 02:31:03 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 02:31:03 +0000
commitb026e35d56ca317e00fa54864e7f869be62e99d9 (patch)
treee9a32e7cc2d0574cf3ef29a0f4e75b7fc3cde6c6 /base/string_split.cc
parent12a94ea157a6326c835f6dc9bca3a2332b911606 (diff)
downloadchromium_src-b026e35d56ca317e00fa54864e7f869be62e99d9.zip
chromium_src-b026e35d56ca317e00fa54864e7f869be62e99d9.tar.gz
chromium_src-b026e35d56ca317e00fa54864e7f869be62e99d9.tar.bz2
Reland r62959 without the changes to histogram.cc, in hopes it won't break tab_switching_test, and without the changes to tools_sanity_unittest.cc, which have already been relanded separately.
TBR=timsteele Original changelog message: 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/3850007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63009 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,