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

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

Issue 7314018: Don't autocomplete searches of >1 word if they've only been visited once and the user has not yet... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
Index: chrome/browser/history/history_types.h
===================================================================
--- chrome/browser/history/history_types.h (revision 92729)
+++ chrome/browser/history/history_types.h (working copy)
@@ -528,11 +528,9 @@
KeywordSearchTermVisit();
~KeywordSearchTermVisit();
- // The time of the visit.
- base::Time time;
-
- // The search term that was used.
- string16 term;
+ string16 term; // The search term that was used.
+ int visits; // The visit count.
+ base::Time time; // The time of the most recent visit.
};
// KeywordSearchTermRow --------------------------------------------------------
@@ -542,14 +540,9 @@
KeywordSearchTermRow();
~KeywordSearchTermRow();
- // ID of the keyword.
- TemplateURLID keyword_id;
-
- // ID of the url.
- URLID url_id;
-
- // The search term that was used.
- string16 term;
+ TemplateURLID keyword_id; // ID of the keyword.
+ URLID url_id; // ID of the url.
+ string16 term; // The search term that was used.
};
// MostVisitedURL --------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698