| Index: chrome/browser/metrics/variations/variations_http_header_provider.cc
|
| diff --git a/chrome/browser/metrics/variations/variations_http_header_provider.cc b/chrome/browser/metrics/variations/variations_http_header_provider.cc
|
| index f4ed100d80cb563222980d303360e920570d2207..d06913a866abbc97667414ea2eca31ac205b39ec 100644
|
| --- a/chrome/browser/metrics/variations/variations_http_header_provider.cc
|
| +++ b/chrome/browser/metrics/variations/variations_http_header_provider.cc
|
| @@ -156,7 +156,7 @@ bool VariationsHttpHeaderProvider::ShouldAppendHeaders(const GURL& url) {
|
| }
|
|
|
| // The below mirrors logic in IsGoogleDomainUrl(), but for youtube.<TLD>.
|
| - if (!url.is_valid() || !(url.SchemeIs("http") || url.SchemeIs("https")))
|
| + if (!url.is_valid() || !url.SchemeIsHttp())
|
| return false;
|
|
|
| const std::string host = url.host();
|
|
|