Omnibox: Send Input Type to Suggest Server
This has been approved by the privacy team.
I also tested this interactively (by sniffing the network traffic for
various omnibox inputs).
BUG=284781
Review URL: https://codereview.chromium.org/314773002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276008 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc
index f0106f8..164d730 100644
--- a/chrome/browser/autocomplete/search_provider.cc
+++ b/chrome/browser/autocomplete/search_provider.cc
@@ -641,6 +641,7 @@
// Bail if the suggestion URL is invalid with the given replacements.
TemplateURLRef::SearchTermsArgs search_term_args(input.text());
+ search_term_args.input_type = input.type();
search_term_args.cursor_position = input.cursor_position();
search_term_args.page_classification = input.current_page_classification();
if (CommandLine::ForCurrentProcess()->HasSwitch(