diff options
Diffstat (limited to 'net/disk_cache/stats_histogram.cc')
| -rw-r--r-- | net/disk_cache/stats_histogram.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/disk_cache/stats_histogram.cc b/net/disk_cache/stats_histogram.cc index 06ed1b3..366a7e1 100644 --- a/net/disk_cache/stats_histogram.cc +++ b/net/disk_cache/stats_histogram.cc @@ -42,7 +42,7 @@ scoped_refptr<StatsHistogram> StatsHistogram::StatsHistogramFactoryGet( Histogram* temp_histogram = histogram.get(); StatsHistogram* temp_stats_histogram = static_cast<StatsHistogram*>(temp_histogram); - scoped_refptr<StatsHistogram> return_histogram = temp_stats_histogram; + scoped_refptr<StatsHistogram> return_histogram(temp_stats_histogram); return return_histogram; } @@ -86,4 +86,10 @@ void StatsHistogram::SnapshotSample(SampleSet* sample) const { mutable_me->ClearFlags(kUmaTargetedHistogramFlag); } +Histogram::Inconsistencies StatsHistogram::FindCorruption( + const SampleSet& snapshot) const { + return NO_INCONSISTENCIES; // This class won't monitor inconsistencies. +} + + } // namespace disk_cache |
