diff options
author | meelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 17:27:37 +0000 |
---|---|---|
committer | meelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 17:27:37 +0000 |
commit | a003b3c269dbca5e2ca7bccf541319e11869e545 (patch) | |
tree | 4693a02e65e0456c1911496f9d91f6db48e91d08 /chrome/browser/history/history_backend.h | |
parent | e6f546c3ab626d39d375376890b7f4bfef92f48e (diff) | |
download | chromium_src-a003b3c269dbca5e2ca7bccf541319e11869e545.zip chromium_src-a003b3c269dbca5e2ca7bccf541319e11869e545.tar.gz chromium_src-a003b3c269dbca5e2ca7bccf541319e11869e545.tar.bz2 |
Add a function to the History to return a list of the top n visited URLs where and the list of most recent redirects for each of those URLs.
Review URL: http://codereview.chromium.org/151057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_backend.h')
-rw-r--r-- | chrome/browser/history/history_backend.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h index 421e0a0..4870589 100644 --- a/chrome/browser/history/history_backend.h +++ b/chrome/browser/history/history_backend.h @@ -147,6 +147,11 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, void GetVisitCountToHost(scoped_refptr<GetVisitCountToHostRequest> request, const GURL& url); + + void QueryTopURLsAndRedirects( + scoped_refptr<QueryTopURLsAndRedirectsRequest> request, + int result_count); + // 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 |