| Index: net/dns/dns_test_util.h
|
| diff --git a/net/dns/dns_test_util.h b/net/dns/dns_test_util.h
|
| index e7bd457ff71bf02b98fa3745152026252c4a16e5..3ca6e11f4c7b67f8948eb7a54ce732f00e56b93a 100644
|
| --- a/net/dns/dns_test_util.h
|
| +++ b/net/dns/dns_test_util.h
|
| @@ -172,18 +172,14 @@ scoped_ptr<DnsClient> CreateMockDnsClient(const DnsConfig& config);
|
|
|
| class MockDnsConfigService : public DnsConfigService {
|
| public:
|
| - virtual ~MockDnsConfigService() {}
|
| + virtual ~MockDnsConfigService();
|
|
|
| - virtual void Watch(const CallbackType& callback) OVERRIDE;
|
| + // NetworkChangeNotifier::DNSObserver:
|
| + virtual void OnDNSChanged(unsigned detail) OVERRIDE;
|
|
|
| // Expose the protected methods for tests.
|
| - void ChangeConfig(const DnsConfig& config) {
|
| - DnsConfigService::OnConfigRead(config);
|
| - }
|
| -
|
| - void ChangeHosts(const DnsHosts& hosts) {
|
| - DnsConfigService::OnHostsRead(hosts);
|
| - }
|
| + void ChangeConfig(const DnsConfig& config);
|
| + void ChangeHosts(const DnsHosts& hosts);
|
| };
|
|
|
|
|
|
|