Index: net/dns/mock_host_resolver.cc |
diff --git a/net/dns/mock_host_resolver.cc b/net/dns/mock_host_resolver.cc |
index 288276be26fa37a6a40e7048ca02bc45692fd11f..04d69782991ae45674983713c97b0da123e5f4a5 100644 |
--- a/net/dns/mock_host_resolver.cc |
+++ b/net/dns/mock_host_resolver.cc |
@@ -12,6 +12,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/single_thread_task_runner.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/thread_task_runner_handle.h" |
@@ -365,7 +366,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)); |