Searched refs:dns_client_ (Results 1 – 3 of 3) sorted by relevance
1545 dns_task_.reset(new DnsTask(resolver_->dns_client_.get(), key_, this, in StartDnsTask()1997 if (enabled && !dns_client_) { in SetDnsClientEnabled()1999 } else if (!enabled && dns_client_) { in SetDnsClientEnabled()2011 if (!dns_client_.get()) in GetDnsConfigAsValue()2016 const DnsConfig* dns_config = dns_client_->GetConfig(); in GetDnsConfigAsValue()2084 const DnsHosts& hosts = dns_client_->GetConfig()->hosts; in ServeFromHosts()2281 if (dns_client_.get()) { in OnDNSChanged()2282 dns_client_->SetConfig(dns_config); in OnDNSChanged()2283 if (dns_client_->GetConfig()) in OnDNSChanged()2311 return (dns_client_.get() != NULL) && (dns_client_->GetConfig() != NULL) && in HaveDnsConfig()[all …]
269 scoped_ptr<DnsClient> dns_client_; variable
1284 HostResolverImplDnsTest() : dns_client_(NULL) {} in HostResolverImplDnsTest()1337 dns_client_ = new MockDnsClient(DnsConfig(), dns_rules_); in CreateResolverWithLimitsAndParams()1338 resolver_->SetDnsClient(scoped_ptr<DnsClient>(dns_client_)); in CreateResolverWithLimitsAndParams()1357 MockDnsClient* dns_client_; member in net::HostResolverImplDnsTest1838 dns_client_->CompleteDelayedTransactions(); in TEST_F()1896 dns_client_->CompleteDelayedTransactions(); in TEST_F()