Chromium Code Reviews| Index: components/omnibox/browser/autocomplete_match.h |
| diff --git a/components/omnibox/browser/autocomplete_match.h b/components/omnibox/browser/autocomplete_match.h |
| index 9ab496c7dc665b0f6ba3e7c7b95271b882cc1e00..a414ea382d33f957079c0d377cd96f34b5b0cf1a 100644 |
| --- a/components/omnibox/browser/autocomplete_match.h |
| +++ b/components/omnibox/browser/autocomplete_match.h |
| @@ -367,6 +367,12 @@ struct AutocompleteMatch { |
| // Type of this match. |
| Type type; |
| + // Used to identify the specify type of the autocomplete match. For example, |
| + // contextual zero suggest suggestions uses this field to record the specific |
| + // suggestion types in order to assess the quality of multiple suggestion |
| + // sources. |
| + std::string specific_type; |
|
Mark P
2017/03/14 20:17:49
I'd curious why you've chosen to add a specific_ty
gcomanici
2017/03/14 20:42:55
I was mostly concerned about adding unnecessary co
Mark P
2017/03/14 21:04:09
Makes sense to me.
What about the decision not to
gcomanici
2017/03/15 01:35:56
Short answer: I'm scared of omnibox_event.proto. I
|
| + |
| // Set with a keyword provider match if this match can show a keyword hint. |
| // For example, if this is a SearchProvider match for "www.amazon.com", |
| // |associated_keyword| could be a KeywordProvider match for "amazon.com". |