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

Unified Diff: chrome/browser/autocomplete/autocomplete_match.h

Issue 10544114: Omnibox: In UMA logs, record typed_count of URLS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Grammar in comment. Created 8 years, 6 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/autocomplete/autocomplete_match.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_match.h
diff --git a/chrome/browser/autocomplete/autocomplete_match.h b/chrome/browser/autocomplete/autocomplete_match.h
index cef1892e7876f7f5acaffae59c238b4d8e448cf3..e26e3477edd7b9b53c379d80e20cdbff116741e3 100644
--- a/chrome/browser/autocomplete/autocomplete_match.h
+++ b/chrome/browser/autocomplete/autocomplete_match.h
@@ -203,6 +203,12 @@ struct AutocompleteMatch {
// rather than being a fairly fixed value defined by the table above.
int relevance;
+ // How many times this result was typed in / selected from the omnibox.
+ // Only set for some providers and result_types. If it is not set,
+ // its value is -1. At the time of writing this comment, it is only
+ // set for matches from HistoryURL and HistoryQuickProvider.
+ int typed_count;
+
// True if the user should be able to delete this match.
bool deletable;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698