Home
last modified time | relevance | path

Searched refs:DnsConfig (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/net/dns/
Ddns_config_service_unittest.cc115 void OnConfigChanged(const DnsConfig& config) { in OnConfigChanged()
136 void OnConfigRead(const DnsConfig& config) { in OnConfigRead()
160 DnsConfig MakeConfig(unsigned seed) { in MakeConfig()
161 DnsConfig config; in MakeConfig()
188 DnsConfig last_config_;
198 DnsConfig config = MakeConfig(1); in TEST_F()
202 EXPECT_TRUE(last_config_.Equals(DnsConfig())); in TEST_F()
209 DnsConfig config = MakeConfig(1); in TEST_F()
215 EXPECT_FALSE(last_config_.Equals(DnsConfig())); in TEST_F()
221 EXPECT_TRUE(last_config_.Equals(DnsConfig())); in TEST_F()
[all …]
Ddns_config_service.h67 struct NET_EXPORT_PRIVATE DnsConfig { struct
68 DnsConfig();
69 virtual ~DnsConfig();
71 bool Equals(const DnsConfig& d) const;
73 bool EqualsIgnoreHosts(const DnsConfig& d) const;
75 void CopyIgnoreHosts(const DnsConfig& src);
132 typedef base::Callback<void(const DnsConfig& config)> CallbackType; in NON_EXPORTED_BASE() argument
171 void OnConfigRead(const DnsConfig& config); in NON_EXPORTED_BASE()
186 DnsConfig dns_config_; in NON_EXPORTED_BASE()
Ddns_config_service.cc98 DnsConfig::DnsConfig() in DnsConfig() function in net::DnsConfig
109 DnsConfig::~DnsConfig() {} in ~DnsConfig()
111 bool DnsConfig::Equals(const DnsConfig& d) const { in Equals()
115 bool DnsConfig::EqualsIgnoreHosts(const DnsConfig& d) const { in EqualsIgnoreHosts()
128 void DnsConfig::CopyIgnoreHosts(const DnsConfig& d) { in CopyIgnoreHosts()
141 base::Value* DnsConfig::ToValue() const { in ToValue()
223 void DnsConfigService::OnConfigRead(const DnsConfig& config) { in OnConfigRead()
302 callback_.Run(DnsConfig()); in OnTimeout()
313 callback_.Run(DnsConfig()); in OnCompleteConfig()
Ddns_client.h14 struct DnsConfig;
27 virtual void SetConfig(const DnsConfig& config) = 0;
30 virtual const DnsConfig* GetConfig() const = 0;
Ddns_test_util.h210 MockDnsClient(const DnsConfig& config, const MockDnsClientRuleList& rules);
214 virtual void SetConfig(const DnsConfig& config) OVERRIDE;
215 virtual const DnsConfig* GetConfig() const OVERRIDE;
223 DnsConfig config_;
Ddns_session.h60 DnsSession(const DnsConfig& config, in NON_EXPORTED_BASE()
65 const DnsConfig& config() const { return config_; } in NON_EXPORTED_BASE()
123 const DnsConfig config_; in NON_EXPORTED_BASE()
Ddns_config_service_posix_unittest.cc86 void InitializeExpectedConfig(DnsConfig* config) { in InitializeExpectedConfig()
117 DnsConfig config; in TEST()
125 DnsConfig expected_config; in TEST()
147 DnsConfig config; in TEST()
Ddns_client.cc27 virtual void SetConfig(const DnsConfig& config) OVERRIDE { in SetConfig()
43 virtual const DnsConfig* GetConfig() const OVERRIDE { in GetConfig()
Ddns_test_util.cc200 MockDnsClient::MockDnsClient(const DnsConfig& config, in MockDnsClient()
209 void MockDnsClient::SetConfig(const DnsConfig& config) { in SetConfig()
213 const DnsConfig* MockDnsClient::GetConfig() const { in GetConfig()
Ddns_config_service_win_unittest.cc190 DnsConfig config; in TEST()
382 DnsConfig config; in TEST()
421 DnsConfig config; in TEST()
455 DnsConfig config; in TEST()
Ddns_config_service_posix.cc117 ConfigParsePosixResult ReadDnsConfig(DnsConfig* config) { in ReadDnsConfig()
171 ConfigParsePosixResult ReadDnsConfig(DnsConfig* dns_config) { in ReadDnsConfig()
302 DnsConfig dns_config_;
392 DnsConfig* dns_config) { in ConvertResStateToDnsConfig()
Ddns_config_service_posix.h65 const struct __res_state& res, DnsConfig* dns_config);
Ddns_config_service_win.cc359 DnsConfig* config) { in ConfigureSuffixSearch()
472 DnsConfig* config) { in ConvertSettingsToDnsConfig()
473 *config = DnsConfig(); in ConvertSettingsToDnsConfig()
665 DnsConfig dns_config_;
Ddns_config_service_win.h114 DnsConfig* dns_config);
Dhost_resolver_impl_unittest.cc1324 DnsConfig CreateValidDnsConfig() { in CreateValidDnsConfig()
1329 DnsConfig config; in CreateValidDnsConfig()
1391 dns_client_ = new MockDnsClient(DnsConfig(), dns_rules_); in CreateResolverWithLimitsAndParams()
1403 void ChangeDnsConfig(const DnsConfig& config) { in ChangeDnsConfig()
1461 ChangeDnsConfig(DnsConfig()); in TEST_F()
1480 scoped_ptr<DnsClient>(new MockDnsClient(DnsConfig(), dns_rules_))); in TEST_F()
1554 DnsConfig config = CreateValidDnsConfig(); in TEST_F()
1722 scoped_ptr<DnsClient>(new MockDnsClient(DnsConfig(), dns_rules_))); in TEST_F()
1745 ChangeDnsConfig(DnsConfig()); in TEST_F()
1755 DnsConfig config = CreateValidDnsConfig(); in TEST_F()
[all …]
Ddns_transaction.cc620 const DnsConfig& config = session_->config(); in PrepareSearch()
706 const DnsConfig& config = session_->config(); in MakeAttempt()
858 const DnsConfig& config = session_->config(); in MoreAttemptsAllowed()
Dhost_resolver_impl.cc367 base::Value* NetLogDnsConfigCallback(const DnsConfig* config, in NetLogDnsConfigCallback()
1832 DnsConfig dns_config; in HostResolverImpl()
2015 const DnsConfig* dns_config = dns_client_->GetConfig(); in GetDnsConfigAsValue()
2275 DnsConfig dns_config; in OnDNSChanged()
2340 dns_client_->SetConfig(DnsConfig()); in OnDnsTaskResolve()
2357 DnsConfig dns_config; in SetDnsClient()
Ddns_session_unittest.cc76 DnsConfig config_;
/external/chromium_org/chrome/browser/net/
Ddns_probe_test_util.cc12 using net::DnsConfig;
23 DnsConfig config; in CreateMockDnsClientForProbes()
Ddns_probe_service.cc20 using net::DnsConfig;
139 DnsConfig system_config; in SetSystemClientToCurrentConfig()
152 DnsConfig public_config; in SetPublicClientToGooglePublicDns()
Ddns_probe_runner_unittest.cc19 using net::DnsConfig;
93 DnsConfig empty_config; in TEST_F()
Ddns_probe_service.h20 struct DnsConfig;
/external/chromium_org/net/base/
Dnetwork_change_notifier.h17 struct DnsConfig;
164 static void GetDnsConfig(DnsConfig* config);
307 static void SetDnsConfig(const DnsConfig& config);
Dnetwork_change_notifier.cc388 void GetDnsConfig(DnsConfig* config) const { in GetDnsConfig()
393 void SetDnsConfig(const DnsConfig& dns_config) { in SetDnsConfig()
400 DnsConfig dns_config_;
538 void NetworkChangeNotifier::GetDnsConfig(DnsConfig* config) { in GetDnsConfig()
540 *config = DnsConfig(); in GetDnsConfig()
804 void NetworkChangeNotifier::SetDnsConfig(const DnsConfig& config) { in SetDnsConfig()
/external/chromium_org/net/tools/gdig/
Dgdig.cc61 std::string DnsConfigToString(const DnsConfig& dns_config) { in DnsConfigToString()
204 void OnDnsConfig(const DnsConfig& dns_config_const);
379 DnsConfig dns_config; in Start()
401 void GDig::OnDnsConfig(const DnsConfig& dns_config_const) { in OnDnsConfig()
404 DnsConfig dns_config = dns_config_const; in OnDnsConfig()

12