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

Unified Diff: components/omnibox/browser/autocomplete_match.h

Issue 2755503002: Add a new entry to omnibox_event.proto to log specific type of contextual suggestions (Closed)
Patch Set: Created 3 years, 9 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: 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".

Powered by Google App Engine
This is Rietveld 408576698