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

Unified Diff: chrome/browser/history/url_database.h

Issue 12033021: Add UMA metrics and histograms for locally managed users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/browser/history/history_database.cc ('k') | chrome/browser/history/url_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/url_database.h
===================================================================
--- chrome/browser/history/url_database.h (revision 177135)
+++ chrome/browser/history/url_database.h (working copy)
@@ -54,10 +54,16 @@
// success and false otherwise.
bool GetURLRow(URLID url_id, URLRow* info);
- // Looks up all urls that were typed in manually. Fills info with the data.
+ // Looks up all urls that were typed in manually. Fills urls with the data.
// Returns true on success and false otherwise.
bool GetAllTypedUrls(URLRows* urls);
+ // Looks up all unique URLs whose last visit times fall within the given
+ // range. Fills urls with the data. Returns true on success and false
+ // otherwise.
+ bool GetUniqueURLsInRange(base::Time begin_time, base::Time end_time,
+ int max_results, URLRows* urls);
+
// Looks up the given URL and if it exists, fills the given pointers with the
// associated info and returns the ID of that URL. If the info pointer is
// NULL, no information about the URL will be filled in, only the ID will be
« no previous file with comments | « chrome/browser/history/history_database.cc ('k') | chrome/browser/history/url_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698