| Index: net/dns/mock_host_resolver.cc
|
| diff --git a/net/dns/mock_host_resolver.cc b/net/dns/mock_host_resolver.cc
|
| index 810765c3f1b16886144feff63c5d0059714f28c2..26ac27752055a952982d00f9008a8739f5380a97 100644
|
| --- a/net/dns/mock_host_resolver.cc
|
| +++ b/net/dns/mock_host_resolver.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/stl_util.h"
|
| +#include "base/strings/pattern.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/threading/platform_thread.h"
|
| @@ -363,7 +364,7 @@ int RuleBasedHostResolverProc::Resolve(const std::string& host,
|
| // match.
|
| bool matches_flags = (r->host_resolver_flags & flags) == flags;
|
| if (matches_flags && matches_address_family &&
|
| - MatchPattern(host, r->host_pattern)) {
|
| + base::MatchPattern(host, r->host_pattern)) {
|
| if (r->latency_ms != 0) {
|
| base::PlatformThread::Sleep(
|
| base::TimeDelta::FromMilliseconds(r->latency_ms));
|
|
|