Index: net/base/host_resolver.h |
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h |
index 471ad8a781604340a8f435124803139a3baf47a4..4fc5c896b4851861220abee5fad5f445db35393b 100644 |
--- a/net/base/host_resolver.h |
+++ b/net/base/host_resolver.h |
@@ -170,14 +170,12 @@ class HostResolver { |
// results to AF_INET by passing in ADDRESS_FAMILY_IPV4, or to |
// AF_INET6 by passing in ADDRESS_FAMILY_IPV6. |
virtual void SetDefaultAddressFamily(AddressFamily address_family) {} |
- virtual AddressFamily GetDefaultAddressFamily() const { |
- return net::ADDRESS_FAMILY_UNSPECIFIED; |
- } |
+ virtual AddressFamily GetDefaultAddressFamily() const; |
// Returns |this| cast to a HostResolverImpl*, or NULL if the subclass |
// is not compatible with HostResolverImpl. Used primarily to expose |
// additional functionality on the about:net-internals page. |
- virtual HostResolverImpl* GetAsHostResolverImpl() { return NULL; } |
+ virtual HostResolverImpl* GetAsHostResolverImpl(); |
// Does additional cleanup prior to destruction. |
virtual void Shutdown() {} |