Index: content/child/site_isolation_policy.cc |
diff --git a/content/child/site_isolation_policy.cc b/content/child/site_isolation_policy.cc |
index 9b982b626cca90bcebe4cb33e8c369b873ada7f9..32abbdca35b236c160d8e1767c55604b4388417e 100644 |
--- a/content/child/site_isolation_policy.cc |
+++ b/content/child/site_isolation_policy.cc |
@@ -67,7 +67,7 @@ bool MatchesSignature(StringPiece data, |
if (length < signature_length) |
continue; |
- if (LowerCaseEqualsASCII( |
+ if (base::LowerCaseEqualsASCII( |
data.begin(), data.begin() + signature_length, signature.data())) |
return true; |
} |
@@ -198,7 +198,7 @@ SiteIsolationPolicy::OnReceivedResponse(const GURL& frame_origin, |
resp_data->resource_type = resource_type; |
resp_data->canonical_mime_type = canonical_mime_type; |
resp_data->http_status_code = info.headers->response_code(); |
- resp_data->no_sniff = LowerCaseEqualsASCII(no_sniff, "nosniff"); |
+ resp_data->no_sniff = base::LowerCaseEqualsASCII(no_sniff, "nosniff"); |
return resp_data; |
} |
@@ -306,23 +306,23 @@ bool SiteIsolationPolicy::ShouldBlockResponse( |
SiteIsolationResponseMetaData::CanonicalMimeType |
SiteIsolationPolicy::GetCanonicalMimeType(const std::string& mime_type) { |
- if (LowerCaseEqualsASCII(mime_type, kTextHtml)) { |
+ if (base::LowerCaseEqualsASCII(mime_type, kTextHtml)) { |
return SiteIsolationResponseMetaData::HTML; |
} |
- if (LowerCaseEqualsASCII(mime_type, kTextPlain)) { |
+ if (base::LowerCaseEqualsASCII(mime_type, kTextPlain)) { |
return SiteIsolationResponseMetaData::Plain; |
} |
- if (LowerCaseEqualsASCII(mime_type, kAppJson) || |
- LowerCaseEqualsASCII(mime_type, kTextJson) || |
- LowerCaseEqualsASCII(mime_type, kTextXjson)) { |
+ if (base::LowerCaseEqualsASCII(mime_type, kAppJson) || |
+ base::LowerCaseEqualsASCII(mime_type, kTextJson) || |
+ base::LowerCaseEqualsASCII(mime_type, kTextXjson)) { |
return SiteIsolationResponseMetaData::JSON; |
} |
- if (LowerCaseEqualsASCII(mime_type, kTextXml) || |
- LowerCaseEqualsASCII(mime_type, xAppRssXml) || |
- LowerCaseEqualsASCII(mime_type, kAppXml)) { |
+ if (base::LowerCaseEqualsASCII(mime_type, kTextXml) || |
+ base::LowerCaseEqualsASCII(mime_type, xAppRssXml) || |
+ base::LowerCaseEqualsASCII(mime_type, kAppXml)) { |
return SiteIsolationResponseMetaData::XML; |
} |