| Index: base/metrics/statistics_recorder.cc
|
| diff --git a/base/metrics/statistics_recorder.cc b/base/metrics/statistics_recorder.cc
|
| index 23c28d4943b4e1b28006a43ae050eb03a3a00ff0..d9a46caa8eba0e8d5df3d76d407565409070149c 100644
|
| --- a/base/metrics/statistics_recorder.cc
|
| +++ b/base/metrics/statistics_recorder.cc
|
| @@ -31,6 +31,12 @@ void StatisticsRecorder::Initialize() {
|
| g_statistics_recorder_.Get();
|
| }
|
|
|
| +// static
|
| +void StatisticsRecorder::InitializeForTest() {
|
| + Initialize();
|
| + histograms_->clear();
|
| + ranges_->clear();
|
| +}
|
|
|
| // static
|
| bool StatisticsRecorder::IsActive() {
|
|
|