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

Unified Diff: net/disk_cache/blockfile/stats_histogram.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: net/disk_cache/blockfile/stats_histogram.cc
diff --git a/net/disk_cache/blockfile/stats_histogram.cc b/net/disk_cache/blockfile/stats_histogram.cc
index a95eb46f4373e5334a8a274bd50b2dffac482250..8a8642bab0982a65d6b59a75c6af2d1cf602d56a 100644
--- a/net/disk_cache/blockfile/stats_histogram.cc
+++ b/net/disk_cache/blockfile/stats_histogram.cc
@@ -25,10 +25,11 @@ StatsHistogram::StatsHistogram(const std::string& name,
Sample maximum,
const BucketRanges* ranges,
const Stats* stats)
- : Histogram(name, minimum, maximum, ranges),
- stats_(stats) {}
+ : Histogram(name, minimum, maximum, ranges), stats_(stats) {
+}
-StatsHistogram::~StatsHistogram() {}
+StatsHistogram::~StatsHistogram() {
+}
// static
void StatsHistogram::InitializeBucketRanges(const Stats* stats,
@@ -77,7 +78,7 @@ void StatsHistogram::Disable() {
scoped_ptr<HistogramSamples> StatsHistogram::SnapshotSamples() const {
scoped_ptr<SampleVector> samples(new SampleVector(bucket_ranges()));
if (stats_)
- stats_->Snapshot(samples.get());
+ stats_->Snapshot(samples.get());
// Only report UMA data once.
StatsHistogram* mutable_me = const_cast<StatsHistogram*>(this);

Powered by Google App Engine
This is Rietveld 408576698