DescriptionSending LanguageModel info to suggestions server
This CL makes use of recently introduced translate::LanguageModel.
It reveals top two languages from language model in requests to content
suggestions server.
As LanguageModel does not have an iOS factory yet, the iOS factory
passes nullptr to NTPSnippetsFetcher at the moment. Achieving feature
parity on iOS is left for follow-up CLs.
BUG=653058
Committed: https://crrev.com/c2dd3bbcfd8c37c233ba1663176de847b8a90023
Cr-Commit-Position: refs/heads/master@{#423906}
Patch Set 1 #Patch Set 2 : Small fixes #
Total comments: 8
Patch Set 3 : Guard sending potentially private info by a parameter #Patch Set 4 : Bernhard's comments #Patch Set 5 : Zero initialization #Patch Set 6 : Zero initialization #2 #Dependent Patchsets: Messages
Total messages: 29 (20 generated)
|