diff options
-rw-r--r-- | webkit/quota/quota_temporary_storage_evictor.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/webkit/quota/quota_temporary_storage_evictor.cc b/webkit/quota/quota_temporary_storage_evictor.cc index 30bac6d..689db4d 100644 --- a/webkit/quota/quota_temporary_storage_evictor.cc +++ b/webkit/quota/quota_temporary_storage_evictor.cc @@ -26,8 +26,7 @@ namespace { const int64 kMBytes = 1024 * 1024; const double kUsageRatioToStartEviction = 0.7; const int kThresholdOfErrorsToStopEviction = 5; -const base::TimeDelta kHistogramReportInterval = - base::TimeDelta::FromMilliseconds(60 * 60 * 1000); // 1 hour +const int kHistogramReportIntervalMinutes = 60; } namespace quota { @@ -130,8 +129,10 @@ void QuotaTemporaryStorageEvictor::Start() { if (histogram_timer_.IsRunning()) return; - histogram_timer_.Start(FROM_HERE, kHistogramReportInterval, this, - &QuotaTemporaryStorageEvictor::ReportPerHourHistogram); + + histogram_timer_.Start( + FROM_HERE, base::TimeDelta::FromMinutes(kHistogramReportIntervalMinutes), + this, &QuotaTemporaryStorageEvictor::ReportPerHourHistogram); } void QuotaTemporaryStorageEvictor::StartEvictionTimerWithDelay(int delay_ms) { |