| 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 d6dcb62c17e9c73e8342a5fb92200c03a1c32f0f..e12c90cccccc147261a9d35021ec88c9ce8882f8 100644
|
| --- a/components/history/core/browser/history_backend.cc
|
| +++ b/components/history/core/browser/history_backend.cc
|
| @@ -1054,6 +1054,15 @@ TypedUrlSyncableService* HistoryBackend::GetTypedUrlSyncableService() const {
|
| return typed_url_syncable_service_.get();
|
| }
|
|
|
| +// Statistics ------------------------------------------------------------------
|
| +
|
| +int HistoryBackend::CountURLs() {
|
| + if (!db_)
|
| + return 0;
|
| + else
|
| + return db_->GetCountOfURLsWithVisibleVisit();
|
| +}
|
| +
|
| // Keyword visits --------------------------------------------------------------
|
|
|
| void HistoryBackend::SetKeywordSearchTermsForURL(const GURL& url,
|
|
|