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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 58003005: Modify Entity Suggestion support and Add Profile Suggest support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 7 years 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 | « chrome/browser/autocomplete/zero_suggest_provider.cc ('k') | chrome/common/autocomplete_match_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 9ebf3bc72e2dbe7c9e57ca7e3e8a4aade3a9e105..ba2117de3f41a4ba8e2644a0ebbf0527101f0ccc 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -131,6 +131,14 @@ OmniboxEventProto::Suggestion::ResultType AsOmniboxEventResultType(
return OmniboxEventProto::Suggestion::SEARCH_HISTORY;
case AutocompleteMatchType::SEARCH_SUGGEST:
return OmniboxEventProto::Suggestion::SEARCH_SUGGEST;
+ case AutocompleteMatchType::SEARCH_SUGGEST_ENTITY:
+ return OmniboxEventProto::Suggestion::SEARCH_SUGGEST_ENTITY;
+ case AutocompleteMatchType::SEARCH_SUGGEST_INFINITE:
+ return OmniboxEventProto::Suggestion::SEARCH_SUGGEST_INFINITE;
+ case AutocompleteMatchType::SEARCH_SUGGEST_PERSONALIZED:
+ return OmniboxEventProto::Suggestion::SEARCH_SUGGEST_PERSONALIZED;
+ case AutocompleteMatchType::SEARCH_SUGGEST_PROFILE:
+ return OmniboxEventProto::Suggestion::SEARCH_SUGGEST_PROFILE;
case AutocompleteMatchType::SEARCH_OTHER_ENGINE:
return OmniboxEventProto::Suggestion::SEARCH_OTHER_ENGINE;
case AutocompleteMatchType::EXTENSION_APP:
« no previous file with comments | « chrome/browser/autocomplete/zero_suggest_provider.cc ('k') | chrome/common/autocomplete_match_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698