Index: components/history/core/browser/visit_database.h |
diff --git a/components/history/core/browser/visit_database.h b/components/history/core/browser/visit_database.h |
index 0aead0c67ba66faae6b504994d8e771f1d942bf6..7dc0f27d8281f8ff5ed35263c28998d922ce0367 100644 |
--- a/components/history/core/browser/visit_database.h |
+++ b/components/history/core/browser/visit_database.h |
@@ -178,6 +178,13 @@ class VisitDatabase { |
int* count, |
base::Time* first_visit); |
+ // Gets the number of URLs as seen in chrome://history with infinite date |
+ // range. "User-visible" is defined as in GetVisibleVisitsInRange() above, |
+ // i.e. excluding redirects and subframes. Also, 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. |
+ int GetHistoryCount(); |
+ |
// Get the time of the first item in our database. |
bool GetStartDate(base::Time* first_visit); |