| Index: net/url_request/url_request_http_job.cc
|
| diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
|
| index 336d798a5adf41a06d709ac578c74164926d15f9..823d358eb8a8847c0f2d3362abb1954248fb7ca6 100644
|
| --- a/net/url_request/url_request_http_job.cc
|
| +++ b/net/url_request/url_request_http_job.cc
|
| @@ -610,17 +610,6 @@ void URLRequestHttpJob::StartTransactionInternal() {
|
| // If we already have a transaction, then we should restart the transaction
|
| // with auth provided by auth_credentials_.
|
|
|
| - bool invalid_header_values_in_rfc7230 = false;
|
| - for (HttpRequestHeaders::Iterator it(request_info_.extra_headers);
|
| - it.GetNext();) {
|
| - if (!HttpUtil::IsValidHeaderValueRFC7230(it.value())) {
|
| - invalid_header_values_in_rfc7230 = true;
|
| - break;
|
| - }
|
| - }
|
| - UMA_HISTOGRAM_BOOLEAN("Net.HttpRequest.ContainsInvalidHeaderValuesInRFC7230",
|
| - invalid_header_values_in_rfc7230);
|
| -
|
| int rv;
|
|
|
| // Notify NetworkQualityEstimator.
|
| @@ -1033,22 +1022,6 @@ void URLRequestHttpJob::OnStartCompleted(int result) {
|
| }
|
| scoped_refptr<HttpResponseHeaders> headers = GetResponseHeaders();
|
|
|
| - if (headers) {
|
| - size_t iter = 0;
|
| - std::string name;
|
| - std::string value;
|
| - bool invalid_header_values_in_rfc7230 = false;
|
| - while (headers->EnumerateHeaderLines(&iter, &name, &value)) {
|
| - if (!HttpUtil::IsValidHeaderValueRFC7230(value)) {
|
| - invalid_header_values_in_rfc7230 = true;
|
| - break;
|
| - }
|
| - }
|
| - UMA_HISTOGRAM_BOOLEAN(
|
| - "Net.HttpResponse.ContainsInvalidHeaderValuesInRFC7230",
|
| - invalid_header_values_in_rfc7230);
|
| - }
|
| -
|
| if (network_delegate()) {
|
| // Note that |this| may not be deleted until
|
| // |on_headers_received_callback_| or
|
|
|