Index: components/history/core/browser/history_backend.cc |
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc |
index e4243bfee29fc040e19de2db9e05aa9fb6a9a38a..8257bebf06518a463a3800f3c8e888eeb18e2619 100644 |
--- a/components/history/core/browser/history_backend.cc |
+++ b/components/history/core/browser/history_backend.cc |
@@ -1045,10 +1045,12 @@ TypedUrlSyncableService* HistoryBackend::GetTypedUrlSyncableService() const { |
// Statistics ------------------------------------------------------------------ |
-HistoryCountResult HistoryBackend::GetHistoryCount() { |
+HistoryCountResult HistoryBackend::GetHistoryCount(const Time& begin_time, |
+ const Time& end_time) { |
HistoryCountResult result; |
result.count = 0; |
- result.success = db_ && db_->GetHistoryCount(&result.count); |
+ result.success = |
+ db_ && db_->GetHistoryCount(begin_time, end_time, &result.count); |
return result; |
} |