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

Unified Diff: base/metrics/histogram_sender.cc

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: base/metrics/histogram_sender.cc
===================================================================
--- base/metrics/histogram_sender.cc (working copy)
+++ base/metrics/histogram_sender.cc (working copy)
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/metrics/histogram_sender.h"
+#include "base/metrics/histogram_sender.h"
using base::Histogram;
using base::StatisticsRecorder;
+namespace base {
+
HistogramSender::HistogramSender() {}
HistogramSender::~HistogramSender() {}
@@ -70,7 +72,7 @@
} else {
already_logged = &(it->second);
int64 discrepancy(already_logged->TotalCount() -
- already_logged->redundant_count());
+ already_logged->redundant_count());
if (discrepancy) {
NOTREACHED(); // Already_logged has become corrupt.
int problem = static_cast<int>(discrepancy);
@@ -93,3 +95,4 @@
already_logged->Add(snapshot);
}
}
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698