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/history_notifications.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/history_notifications.h')
-rw-r--r-- | chrome/browser/history/history_notifications.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/history/history_notifications.h b/chrome/browser/history/history_notifications.h index 4eb9289..1281f2f4 100644 --- a/chrome/browser/history/history_notifications.h +++ b/chrome/browser/history/history_notifications.h @@ -27,6 +27,12 @@ struct HistoryDetails { struct URLVisitedDetails : public HistoryDetails { PageTransition::Type transition; URLRow row; + + // A list of redirects leading up to the URL represented by this struct. If + // we have the redirect chain A -> B -> C and this struct represents visiting + // C, then redirects[0]=B and redirects[1]=A. If there are no redirects, + // this will be an empty vector. + std::vector<GURL> redirects; }; // Details for NOTIFY_HISTORY_TYPED_URLS_MODIFIED. |