diff options
author | meelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 22:13:13 +0000 |
---|---|---|
committer | meelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 22:13:13 +0000 |
commit | 0f8c1125a19d64dcece55111bff692aa98bbcb2b (patch) | |
tree | 812a4a5c65346c83aa1ce054f9ff272458fceddd /chrome/browser/history/visit_database.h | |
parent | 93538a959049371a4b60c6caf806b75d8a18b7e8 (diff) | |
download | chromium_src-0f8c1125a19d64dcece55111bff692aa98bbcb2b.zip chromium_src-0f8c1125a19d64dcece55111bff692aa98bbcb2b.tar.gz chromium_src-0f8c1125a19d64dcece55111bff692aa98bbcb2b.tar.bz2 |
Add a function to the History{Service,Backend} to query for a list of redirects ending at a specified URL.
Add the list of redirects leading to the URL to URLVisitedDetails which is broadcasted on HISTORY_URL_VISITED.
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/151055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/visit_database.h')
-rw-r--r-- | chrome/browser/history/visit_database.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/history/visit_database.h b/chrome/browser/history/visit_database.h index 0b2549e..2f73f90 100644 --- a/chrome/browser/history/visit_database.h +++ b/chrome/browser/history/visit_database.h @@ -111,6 +111,12 @@ class VisitDatabase { VisitID* to_visit, GURL* to_url); + // Similar to the above function except finds a redirect going to a given + // |to_visit|. + bool GetRedirectToVisit(VisitID to_visit, + VisitID* from_visit, + GURL* from_url); + // Returns the number of visits to all urls on the scheme/host/post // identified by url. This is only valid for http and https urls (all other // schemes are ignored and false is returned). |