Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: components/history/core/browser/visit_database.h

Issue 1248613003: Issue 501916 : Add data type counts to profile deletion flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Seventh draft Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..0930ebe3c165831b3b848f5a870f29b137b1d28b 100644
--- a/components/history/core/browser/visit_database.h
+++ b/components/history/core/browser/visit_database.h
@@ -178,6 +178,11 @@ class VisitDatabase {
int* count,
base::Time* first_visit);
+ // Gets the number of URLs with user-visible visits.
+ // "User-visible" is defined as in GetVisibleVisitsInRange() above, i.e.
+ // excluding redirects and subframes.
+ int GetCountOfURLsWithVisibleVisit();
+
// Get the time of the first item in our database.
bool GetStartDate(base::Time* first_visit);

Powered by Google App Engine
This is Rietveld 408576698