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

Unified Diff: components/history/core/browser/history_types.h

Issue 1908443003: Set site engagement timestamps to privacy-respectful values when history is cleared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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 | « components/history/core/browser/history_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_types.h
diff --git a/components/history/core/browser/history_types.h b/components/history/core/browser/history_types.h
index 51e948c153a2ad054ebf1fe12794d12bfcfbcda5..64260e1ac89967954f11f8b66c9dd04b6a924e30 100644
--- a/components/history/core/browser/history_types.h
+++ b/components/history/core/browser/history_types.h
@@ -459,8 +459,9 @@ class MostVisitedThumbnails
// Map from host to visit count, sorted by visit count descending.
typedef std::vector<std::pair<std::string, int>> TopHostsList;
-// Map from origins to a count of matching URLs.
-typedef std::map<GURL, int> OriginCountMap;
+// Map from origins to a count of matching URLs and the last visited time to any
+// URL under that origin.
+typedef std::map<GURL, std::pair<int, base::Time>> OriginCountAndLastVisitMap;
// Statistics -----------------------------------------------------------------
« no previous file with comments | « components/history/core/browser/history_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698