| Index: components/ntp_snippets/remote/ntp_snippets_fetcher.cc
|
| diff --git a/components/ntp_snippets/remote/ntp_snippets_fetcher.cc b/components/ntp_snippets/remote/ntp_snippets_fetcher.cc
|
| index 360d4764d079f064895b53f462cb47b7dbd0c706..0eb9498544c40756e5610435a1c43d2c5397b813 100644
|
| --- a/components/ntp_snippets/remote/ntp_snippets_fetcher.cc
|
| +++ b/components/ntp_snippets/remote/ntp_snippets_fetcher.cc
|
| @@ -716,12 +716,6 @@ std::string NTPSnippetsFetcher::RequestBuilder::BuildBody() const {
|
| }
|
|
|
| auto content_selectors = base::MakeUnique<base::ListValue>();
|
| - for (const auto& host : params_.hosts) {
|
| - auto entry = base::MakeUnique<base::DictionaryValue>();
|
| - entry->SetString("type", "HOST_RESTRICT");
|
| - entry->SetString("value", host);
|
| - content_selectors->Append(std::move(entry));
|
| - }
|
|
|
| auto local_scoring_params = base::MakeUnique<base::DictionaryValue>();
|
| local_scoring_params->Set("content_params", std::move(content_params));
|
| @@ -755,11 +749,6 @@ std::string NTPSnippetsFetcher::RequestBuilder::BuildBody() const {
|
| request->SetString("uiLanguage", user_locale);
|
| }
|
|
|
| - auto regular_hosts = base::MakeUnique<base::ListValue>();
|
| - for (const auto& host : params_.hosts) {
|
| - regular_hosts->AppendString(host);
|
| - }
|
| - request->Set("regularlyVisitedHostNames", std::move(regular_hosts));
|
| request->SetString("priority", params_.interactive_request
|
| ? "USER_ACTION"
|
| : "BACKGROUND_PREFETCH");
|
|
|