Index: content/child/site_isolation_policy.cc |
diff --git a/content/child/site_isolation_policy.cc b/content/child/site_isolation_policy.cc |
index 6d42423567281f0de87bf83e503cf9575deec4a1..5210423561cae38c15fac573af274b8e435d655d 100644 |
--- a/content/child/site_isolation_policy.cc |
+++ b/content/child/site_isolation_policy.cc |
@@ -66,8 +66,9 @@ bool MatchesSignature(StringPiece data, |
if (length < signature_length) |
continue; |
- if (LowerCaseEqualsASCII(data.begin(), data.begin() + signature_length, |
- signature.data())) |
+ if (base::LowerCaseEqualsASCII(data.begin(), |
+ data.begin() + signature_length, |
+ signature.data())) |
return true; |
} |
return false; |
@@ -194,7 +195,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; |
} |
@@ -299,23 +300,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; |
} |