summaryrefslogtreecommitdiff
path: root/chromium/components/ntp_snippets/remote/json_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/ntp_snippets/remote/json_request.cc')
-rw-r--r--chromium/components/ntp_snippets/remote/json_request.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chromium/components/ntp_snippets/remote/json_request.cc b/chromium/components/ntp_snippets/remote/json_request.cc
index 3f7af6e8b2b..2ea9f4f7d57 100644
--- a/chromium/components/ntp_snippets/remote/json_request.cc
+++ b/chromium/components/ntp_snippets/remote/json_request.cc
@@ -52,8 +52,6 @@ namespace {
// Variation parameter for disabling the retry.
const char kBackground5xxRetriesName[] = "background_5xx_retries_count";
-const int kMaxExcludedIds = 100;
-
// Variation parameter for sending LanguageModel info to the server.
const char kSendTopLanguagesName[] = "send_top_languages";
@@ -321,9 +319,6 @@ std::string JsonRequest::Builder::BuildBody() const {
auto excluded = base::MakeUnique<base::ListValue>();
for (const auto& id : params_.excluded_ids) {
excluded->AppendString(id);
- if (excluded->GetSize() >= kMaxExcludedIds) {
- break;
- }
}
request->Set("excludedSuggestionIds", std::move(excluded));