Index: chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
index b016ec9e8f0db6e772a4ffd8bbdd4d32c63d51fe..c07a0d55fbe793b9657a1c265be906d9105d39c7 100644 |
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
@@ -1220,7 +1220,7 @@ void NetInternalsMessageHandler::IOThreadImpl::OnHSTSQuery( |
CHECK(list->GetString(0, &domain)); |
base::DictionaryValue* result = new base::DictionaryValue(); |
- if (!IsStringASCII(domain)) { |
+ if (!base::IsStringASCII(domain)) { |
result->SetString("error", "non-ASCII domain name"); |
} else { |
net::TransportSecurityState* transport_security_state = |
@@ -1261,7 +1261,7 @@ void NetInternalsMessageHandler::IOThreadImpl::OnHSTSAdd( |
// include subdomains>, <key pins>]. |
std::string domain; |
CHECK(list->GetString(0, &domain)); |
- if (!IsStringASCII(domain)) { |
+ if (!base::IsStringASCII(domain)) { |
// Silently fail. The user will get a helpful error if they query for the |
// name. |
return; |
@@ -1295,7 +1295,7 @@ void NetInternalsMessageHandler::IOThreadImpl::OnHSTSDelete( |
// |list| should be: [<domain to query>]. |
std::string domain; |
CHECK(list->GetString(0, &domain)); |
- if (!IsStringASCII(domain)) { |
+ if (!base::IsStringASCII(domain)) { |
// There cannot be a unicode entry in the HSTS set. |
return; |
} |