| 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 f197d2bc25d83f65c7c87f2940a416c1a6930cbf..71fda1678d13f8ed2871f74c3383fc4df71f2f0a 100644
|
| --- a/components/history/core/browser/history_service.h
|
| +++ b/components/history/core/browser/history_service.h
|
| @@ -342,6 +342,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(HistoryCountResult)> GetHistoryCountCallback;
|
| +
|
| + // Returns the count of URLs in the url database.
|
| + base::CancelableTaskTracker::TaskId GetHistoryCount(
|
| + const GetHistoryCountCallback& callback,
|
| + base::CancelableTaskTracker* tracker);
|
| +
|
| // Database management operations --------------------------------------------
|
|
|
| // Delete all the information related to a single url.
|
|
|