summaryrefslogtreecommitdiffstats
path: root/base/metrics/histogram.cc
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 21:53:00 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 21:53:00 +0000
commit89fb65a6f0f1b6981c26c9b9d05a02332f6ec6d7 (patch)
tree5a468222857cf411fec486a7a806a333f4e6cfc2 /base/metrics/histogram.cc
parent21605478c7a32298c06c29d3f8f59ed42b90c091 (diff)
downloadchromium_src-89fb65a6f0f1b6981c26c9b9d05a02332f6ec6d7.zip
chromium_src-89fb65a6f0f1b6981c26c9b9d05a02332f6ec6d7.tar.gz
chromium_src-89fb65a6f0f1b6981c26c9b9d05a02332f6ec6d7.tar.bz2
** Think this may have caused TabSwitchingTest to fail, as it is parsing log files. **
Revert 62959 - 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 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/3850006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics/histogram.cc')
-rw-r--r--base/metrics/histogram.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/metrics/histogram.cc b/base/metrics/histogram.cc
index 2123fc8..9746e9c 100644
--- a/base/metrics/histogram.cc
+++ b/base/metrics/histogram.cc
@@ -81,7 +81,7 @@ Histogram::~Histogram() {
if (StatisticsRecorder::dump_on_exit()) {
std::string output;
WriteAscii(true, "\n", &output);
- VLOG(1) << output;
+ LOG(INFO) << output;
}
// Just to make sure most derived class did this properly...
@@ -474,8 +474,8 @@ bool Histogram::DeserializeHistogramInfo(const std::string& histogram_info) {
} else if (histogram_type == BOOLEAN_HISTOGRAM) {
render_histogram = BooleanHistogram::FactoryGet(histogram_name, flags);
} else {
- LOG(ERROR) << "Error Deserializing Histogram Unknown histogram_type: "
- << histogram_type;
+ LOG(ERROR) << "Error Deserializing Histogram Unknown histogram_type: " <<
+ histogram_type;
return false;
}
@@ -485,8 +485,8 @@ bool Histogram::DeserializeHistogramInfo(const std::string& histogram_info) {
DCHECK(histogram_type == render_histogram->histogram_type());
if (render_histogram->flags() & kIPCSerializationSourceFlag) {
- DVLOG(1) << "Single process mode, histogram observed and not copied: "
- << histogram_name;
+ DLOG(INFO) << "Single process mode, histogram observed and not copied: " <<
+ histogram_name;
} else {
DCHECK(flags == (flags & render_histogram->flags()));
render_histogram->AddSampleSet(sample);
@@ -814,7 +814,7 @@ StatisticsRecorder::~StatisticsRecorder() {
if (dump_on_exit_) {
std::string output;
WriteGraph("", &output);
- VLOG(1) << output;
+ LOG(INFO) << output;
}
// Clean up.
delete histograms_;