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

Unified Diff: components/omnibox/browser/omnibox_edit_model.cc

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/omnibox_edit_model.cc
diff --git a/components/omnibox/browser/omnibox_edit_model.cc b/components/omnibox/browser/omnibox_edit_model.cc
index 3e195f8bb0ac10890e77d55f23da405a34e1a9ce..b1d8610f5bf1706d0b4554bf400a6cdf21d2c51d 100644
--- a/components/omnibox/browser/omnibox_edit_model.cc
+++ b/components/omnibox/browser/omnibox_edit_model.cc
@@ -689,6 +689,8 @@ void OmniboxEditModel::OpenMatch(AutocompleteMatch match,
BookmarkModel* bookmark_model = client_->GetBookmarkModel();
if (bookmark_model && bookmark_model->IsBookmarked(match.destination_url))
client_->OnBookmarkLaunched();
+ OmniboxFieldTrial::ContextualZeroSuggest::RecordTypeAsUsed(
+ match.specific_type);
}
bool OmniboxEditModel::AcceptKeyword(

Powered by Google App Engine
This is Rietveld 408576698