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

Unified Diff: components/search_engines/template_url_data.cc

Issue 2498053002: Add field to monitor last visited time for each search engine (Closed)
Patch Set: Add unit test for last_visited field. Created 4 years, 1 month 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
Index: components/search_engines/template_url_data.cc
diff --git a/components/search_engines/template_url_data.cc b/components/search_engines/template_url_data.cc
index fd04fd3d30f2c6ed73abbe5b4898457477075441..11dbe6001c31367cd3e532c39559bd8b9b27ecd2 100644
--- a/components/search_engines/template_url_data.cc
+++ b/components/search_engines/template_url_data.cc
@@ -15,6 +15,7 @@ TemplateURLData::TemplateURLData()
id(0),
date_created(base::Time::Now()),
last_modified(base::Time::Now()),
+ last_visited(base::Time::Now()),
Peter Kasting 2016/11/21 03:35:08 Seems wrong to set last_visited to Now() (instead
ltian 2016/11/28 22:08:02 I think it is related to how we define "recently v
created_by_policy(false),
usage_count(0),
prepopulate_id(0),

Powered by Google App Engine
This is Rietveld 408576698