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

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: Moved last_forced_time from Images to MostVisitedURL. 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') | chrome/browser/history/top_sites_database.h » ('J')
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..656f3d5b8fa884b86f50ea69bbbc1d1e67465505 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -509,11 +509,18 @@ 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. If it's not a forced thumbnail, keep a time of 0.
brettw 2013/10/28 22:22:27 It would be nice if this mentioned why we store th
beaudoin 2013/10/29 15:27:50 Done.
+ 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') | chrome/browser/history/top_sites_database.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698