Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: net/dns/dns_test_util.h

Issue 10873018: [net] Move DnsConfigService to NetworkChangeNotifier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/dns/dns_config_watcher_win.cc ('k') | net/dns/dns_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_test_util.h
diff --git a/net/dns/dns_test_util.h b/net/dns/dns_test_util.h
index 2d03d0e654021eb7b0bfaf5ad443c56325110c12..1d9e067b85263af7de4614ca55f95e58cc057097 100644
--- a/net/dns/dns_test_util.h
+++ b/net/dns/dns_test_util.h
@@ -189,19 +189,6 @@ typedef std::vector<MockDnsClientRule> MockDnsClientRuleList;
scoped_ptr<DnsClient> CreateMockDnsClient(const DnsConfig& config,
const MockDnsClientRuleList& rules);
-class MockDnsConfigService : public DnsConfigService {
- public:
- virtual ~MockDnsConfigService();
-
- // NetworkChangeNotifier::DNSObserver:
- virtual void OnDNSChanged(unsigned detail) OVERRIDE;
-
- // Expose the protected methods for tests.
- void ChangeConfig(const DnsConfig& config);
- void ChangeHosts(const DnsHosts& hosts);
-};
-
-
} // namespace net
#endif // NET_DNS_DNS_TEST_UTIL_H_
« no previous file with comments | « net/dns/dns_config_watcher_win.cc ('k') | net/dns/dns_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698