Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3118)

Unified Diff: chrome/browser/history/history_backend.cc

Issue 301233004: Send visit time with HISTORY_URL_VISITED notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename time to visit_time Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/history/history_notifications.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 37322e36fc9ceeba3665a38a6eca9d18b8a3217c..c9dbe3b0c4146efb76543fe41125774ee37abb81 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -782,6 +782,7 @@ std::pair<URLID, VisitID> HistoryBackend::AddPageVisit(
scoped_ptr<URLVisitedDetails> details(new URLVisitedDetails);
details->transition = transition;
details->row = url_info;
+ details->visit_time = time;
// TODO(meelapshah) Disabled due to potential PageCycler regression.
// Re-enable this.
// GetMostRecentRedirectsTo(url, &details->redirects);
« no previous file with comments | « no previous file | chrome/browser/history/history_notifications.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698