diff options
Diffstat (limited to 'net/disk_cache/stats_histogram.h')
-rw-r--r-- | net/disk_cache/stats_histogram.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/disk_cache/stats_histogram.h b/net/disk_cache/stats_histogram.h index 97b2d401..f3af304 100644 --- a/net/disk_cache/stats_histogram.h +++ b/net/disk_cache/stats_histogram.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -29,9 +29,11 @@ class StatsHistogram : public base::Histogram { } }; - StatsHistogram(const std::string& name, Sample minimum, - Sample maximum, size_t bucket_count) - : Histogram(name, minimum, maximum, bucket_count), init_(false) {} + StatsHistogram(const std::string& name, + Sample minimum, + Sample maximum, + size_t bucket_count) + : Histogram(name, minimum, maximum, bucket_count, NULL), init_(false) {} virtual ~StatsHistogram(); static StatsHistogram* FactoryGet(const std::string& name); @@ -44,7 +46,6 @@ class StatsHistogram : public base::Histogram { virtual void SnapshotSample(SampleSet* sample) const OVERRIDE; virtual Inconsistencies FindCorruption( const SampleSet& snapshot) const OVERRIDE; - virtual uint32 CalculateRangeChecksum() const OVERRIDE; private: bool init_; |