Chromium Code Reviews| Index: components/history/core/browser/history_service.h |
| diff --git a/components/history/core/browser/history_service.h b/components/history/core/browser/history_service.h |
| index fb12f816012d3865b1ae54cb3846bf1293ee0933..2fd62ab4fad51faaf733a6ac0754bd2ca24ff50a 100644 |
| --- a/components/history/core/browser/history_service.h |
| +++ b/components/history/core/browser/history_service.h |
| @@ -331,6 +331,17 @@ class HistoryService : public syncer::SyncableService, public KeyedService { |
| const QueryFilteredURLsCallback& callback, |
| base::CancelableTaskTracker* tracker); |
| + // Statistics ---------------------------------------------------------------- |
| + |
| + // Returns the count of URLs in the url database. The argument is the count. |
| + // The count is zero if query to the database failed. |
| + typedef base::Callback<void(int)> CountURLsCallback; |
| + |
| + // Returns the count of URLs in the url database. |
| + base::CancelableTaskTracker::TaskId HistoryService::CountURLs( |
|
lwchkg
2015/07/29 14:46:05
The extra "HistoryService::" is causing errors in
|
| + const CountURLsCallback& callback, |
| + base::CancelableTaskTracker* tracker); |
| + |
| // Database management operations -------------------------------------------- |
| // Delete all the information related to a single url. |