- void QueryFilteredURLs(
- scoped_refptr<QueryFilteredURLsRequest> request,
- int result_count,
- const history::VisitFilter& filter,
- bool debug);
-
- // QueryMostVisitedURLs without the request.
- void QueryMostVisitedURLsImpl(int result_count,
- int days_back,
- MostVisitedURLList* result);
-
- // Computes the most recent URL(s) that the given canonical URL has
- // redirected to and returns true on success. There may be more than one
- // redirect in a row, so this function will fill the given array with the
- // entire chain. If there are no redirects for the most recent visit of the
- // URL, or the URL is not in history, returns false.
- //
- // Backend for QueryRedirectsFrom.
- bool GetMostRecentRedirectsFrom(const GURL& url,
- history::RedirectList* redirects);
-
- // Similar to above function except computes a chain of redirects to the
- // given URL. Stores the most recent list of redirects ending at |url| in the
- // given RedirectList. For example, if we have the redirect list A -> B -> C,
- // then calling this function with url=C would fill redirects with {B, A}.
- bool GetMostRecentRedirectsTo(const GURL& url,
- history::RedirectList* redirects);
+ void QueryFilteredURLs(int result_count,
+ const history::VisitFilter& filter,
+ bool debug,
+ history::FilteredURLList* result);