Index: net/base/mock_host_resolver.h |
=================================================================== |
--- net/base/mock_host_resolver.h (revision 29686) |
+++ net/base/mock_host_resolver.h (working copy) |
@@ -102,6 +102,11 @@ |
void AddRule(const std::string& host_pattern, |
const std::string& replacement); |
+ // Same as AddRule(), but further restricts to |address_family|. |
+ void AddRuleForFamily(const std::string& host_pattern, |
wtc
2009/10/22 21:53:54
Nit: rename this AddRuleForAddressFamily.
Are you
|
+ AddressFamily address_family, |
+ const std::string& replacement); |
+ |
// Same as AddRule(), but the replacement is expected to be an IPV6 literal. |
// You should use this in place of AddRule(), since the system's host resolver |
// may not support IPv6 literals on all systems. Whereas this variant |