Index: url/gurl.cc |
diff --git a/url/gurl.cc b/url/gurl.cc |
index 46ca408da9c9c55f1e919365dab03db5038aedff..52aad734966e7f3ade3a270f33d5cd4d23d58025 100644 |
--- a/url/gurl.cc |
+++ b/url/gurl.cc |
@@ -14,6 +14,7 @@ |
#include "url/gurl.h" |
#include "base/logging.h" |
+#include "base/strings/string_util.h" |
#include "url/url_canon_stdstring.h" |
#include "url/url_util.h" |
@@ -382,9 +383,9 @@ bool GURL::IsStandard() const { |
bool GURL::SchemeIs(const char* lower_ascii_scheme) const { |
if (parsed_.scheme.len <= 0) |
return lower_ascii_scheme == NULL; |
- return url::LowerCaseEqualsASCII(spec_.data() + parsed_.scheme.begin, |
- spec_.data() + parsed_.scheme.end(), |
- lower_ascii_scheme); |
+ return base::LowerCaseEqualsASCII(spec_.data() + parsed_.scheme.begin, |
+ spec_.data() + parsed_.scheme.end(), |
+ lower_ascii_scheme); |
} |
bool GURL::SchemeIsHTTPOrHTTPS() const { |
@@ -521,10 +522,10 @@ bool GURL::DomainIs(const char* lower_ascii_domain, |
const char* start_pos = spec_.data() + parsed_.host.begin + |
host_len - domain_len; |
- if (!url::LowerCaseEqualsASCII(start_pos, |
- last_pos + 1, |
- lower_ascii_domain, |
- lower_ascii_domain + domain_len)) |
+ if (!base::LowerCaseEqualsASCII(start_pos, |
+ last_pos + 1, |
+ lower_ascii_domain, |
+ lower_ascii_domain + domain_len)) |
return false; |
// Check whether host has right domain start with dot, make sure we got |