Index: chrome/browser/history/history_service.h |
diff --git a/chrome/browser/history/history_service.h b/chrome/browser/history/history_service.h |
index c9f29107a9b58c5c7763fc3ba80a4654c8450079..dc3f2b73bc94fe0c4c6535a5f28c9f5271bd9859 100644 |
--- a/chrome/browser/history/history_service.h |
+++ b/chrome/browser/history/history_service.h |
@@ -589,11 +589,22 @@ class HistoryService : public content::NotificationObserver, |
// available or the URL does not exist. |
bool GetRowForURL(const GURL& url, history::URLRow* url_row); |
- // Observers ----------------------------------------------------------------- |
+ // Observers ---------------------------------------------------------------- |
// Notify all Observers registered that the VisitDatabase was changed. |
void NotifyAddVisit(const history::BriefVisitInfo& info); |
+ // Notify all HistoryServiceObservers registered that user is visiting a URL. |
+ // The |row| ID will be set to the value that is currently in effect in the |
+ // main history database. |redirects| is the list of redirects leading up to |
+ // the URL. If we have a redirect chain A -> B -> C and user is visiting C, |
+ // then |redirects[0]=B| and |redirects[1]=A|. If there are no redirects, |
+ // |redirects| is an empty vector. |
+ void NotifyURLVisited(ui::PageTransition transition, |
+ const history::URLRow& row, |
+ const history::RedirectList& redirects, |
+ base::Time visit_time); |
+ |
// Favicon ------------------------------------------------------------------- |
// These favicon methods are exposed to the FaviconService. Instead of calling |