summaryrefslogtreecommitdiffstats
path: root/net/base/mock_host_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/mock_host_resolver.h')
-rw-r--r--net/base/mock_host_resolver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/base/mock_host_resolver.h b/net/base/mock_host_resolver.h
index 96788cc..eee005c 100644
--- a/net/base/mock_host_resolver.h
+++ b/net/base/mock_host_resolver.h
@@ -103,9 +103,9 @@ class RuleBasedHostResolverProc : public HostResolverProc {
const std::string& replacement);
// Same as AddRule(), but further restricts to |address_family|.
- void AddRuleForFamily(const std::string& host_pattern,
- AddressFamily address_family,
- const std::string& replacement);
+ void AddRuleForAddressFamily(const std::string& host_pattern,
+ 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