From: Zoraver Kang <Zoraver@users.noreply.github.com>
Date: Sat, 15 Jan 2022 13:34:33 -0500
Subject: disable appending variations header

License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
 components/variations/net/variations_http_headers.cc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/components/variations/net/variations_http_headers.cc b/components/variations/net/variations_http_headers.cc
--- a/components/variations/net/variations_http_headers.cc
+++ b/components/variations/net/variations_http_headers.cc
@@ -118,10 +118,7 @@ URLValidationResult GetUrlValidationResult(const GURL& url) {
 // Also, logs the result of validating |url| in histograms, one of which ends in
 // |suffix|.
 bool ShouldAppendVariationsHeader(const GURL& url, const std::string& suffix) {
-  URLValidationResult result = GetUrlValidationResult(url);
-  base::UmaHistogramEnumeration(
-      "Variations.Headers.URLValidationResult." + suffix, result);
-  return result == URLValidationResult::kShouldAppend;
+  return false;
 }
 
 // Returns true if the request is sent from a Google web property, i.e. from a
--
2.25.1
