Index: components/history/core/browser/history_backend.h |
diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h |
index 51f95194fcd0f5ad6f75880ded5b3db38ab9864f..fa768b953dde5014d58d4391047640b172112c7b 100644 |
--- a/components/history/core/browser/history_backend.h |
+++ b/components/history/core/browser/history_backend.h |
@@ -274,6 +274,14 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, |
bool debug, |
FilteredURLList* result); |
+ // Statistics ---------------------------------------------------------------- |
+ |
+ // Gets the number of URLs as seen in chrome://history with infinite date |
+ // range. If a URL is visited in multiple days, the URL is counted once for |
+ // each day. For determination of the date, timestamps are converted to dates |
+ // using local time. |
+ HistoryCountResult GetHistoryCount(); |
+ |
// Favicon ------------------------------------------------------------------- |
void GetFavicons( |