mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update dns_transaction.cc
This commit is contained in:
parent
6e6a910ffd
commit
aadcb1f8ed
1 changed files with 1 additions and 8 deletions
|
@ -1258,14 +1258,7 @@ class DnsTransactionImpl : public DnsTransaction,
|
|||
net_log_.EndEventWithNetErrorCode(NetLogEventType::DNS_TRANSACTION,
|
||||
result.rv);
|
||||
|
||||
absl::optional<std::string> doh_provider_id;
|
||||
if (secure_ && result.attempt) {
|
||||
size_t server_index = result.attempt->server_index();
|
||||
doh_provider_id = GetDohProviderIdForHistogramFromServerConfig(
|
||||
session_->config().doh_config.servers()[server_index]);
|
||||
}
|
||||
|
||||
std::move(callback_).Run(result.rv, response, doh_provider_id);
|
||||
std::move(callback_).Run(result.rv, response);
|
||||
}
|
||||
|
||||
void RecordAttemptUma(DnsAttemptType attempt_type) {
|
||||
|
|
Loading…
Reference in a new issue