summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_notifications.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/history/history_notifications.h')
-rw-r--r--chrome/browser/history/history_notifications.h6
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.