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

Unified Diff: chrome/browser/history/history_types.h

Issue 39053005: Adding last_forced column to thumbnails database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Answered Brett's comments. Created 7 years, 2 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_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_types.h
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
index f23a310aae70dd658dedae4ed527e1efaab12616..a24a79a39122aa121ff98b05cdee90c05e23aee4 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -509,11 +509,19 @@ struct KeywordSearchTermRow {
struct MostVisitedURL {
MostVisitedURL();
MostVisitedURL(const GURL& url, const string16& title);
+ MostVisitedURL(const GURL& url,
+ const string16& title,
+ const base::Time& last_forced_time);
~MostVisitedURL();
GURL url;
string16 title;
+ // If this is a URL for which we want to force a thumbnail, records the last
+ // time it was forced so we can evict it when more recent URLs are requested.
+ // If it's not a forced thumbnail, keep a time of 0.
+ base::Time last_forced_time;
+
RedirectList redirects;
bool operator==(const MostVisitedURL& other) {
« no previous file with comments | « no previous file | chrome/browser/history/history_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698