Index: extensions/common/user_script.cc |
diff --git a/extensions/common/user_script.cc b/extensions/common/user_script.cc |
index 5be488067e7fece85c8ee7ffbe110d2f7bedf940..b3d82bba795a04871921edebe6adc55552311be2 100644 |
--- a/extensions/common/user_script.cc |
+++ b/extensions/common/user_script.cc |
@@ -7,6 +7,7 @@ |
#include "base/atomic_sequence_num.h" |
#include "base/command_line.h" |
#include "base/pickle.h" |
+#include "base/strings/pattern.h" |
#include "base/strings/string_util.h" |
#include "extensions/common/switches.h" |
@@ -20,7 +21,7 @@ bool UrlMatchesGlobs(const std::vector<std::string>* globs, |
const GURL& url) { |
for (std::vector<std::string>::const_iterator glob = globs->begin(); |
glob != globs->end(); ++glob) { |
- if (MatchPattern(url.spec(), *glob)) |
+ if (base::MatchPattern(url.spec(), *glob)) |
return true; |
} |