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

Unified Diff: components/search_engines/template_url_data.h

Issue 2498053002: Add field to monitor last visited time for each search engine (Closed)
Patch Set: Update Nit comment. Created 4 years 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/search_engines/template_url.h ('k') | components/search_engines/template_url_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/template_url_data.h
diff --git a/components/search_engines/template_url_data.h b/components/search_engines/template_url_data.h
index 4b3479a96a2f37af235677ea082bff077a2410e0..93088a8dbdf3420d724791916160964cfc209351 100644
--- a/components/search_engines/template_url_data.h
+++ b/components/search_engines/template_url_data.h
@@ -110,6 +110,11 @@ struct TemplateURLData {
// NOTE: Like date_created above, this may be 0.
base::Time last_modified;
+ // Date when this TemplateURL was last visited.
+ //
+ // NOTE: This might be 0 if the TemplateURL has never been visited.
+ base::Time last_visited;
+
// True if this TemplateURL was automatically created by the administrator via
// group policy.
bool created_by_policy;
« no previous file with comments | « components/search_engines/template_url.h ('k') | components/search_engines/template_url_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698