summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_transaction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_network_transaction.cc')
-rw-r--r--net/http/http_network_transaction.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index ee98cca..060b9e1 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -100,7 +100,7 @@ void BuildRequestHeaders(const HttpRequestInfo* request_info,
if (upload_data_stream) {
request_headers->SetHeader(
HttpRequestHeaders::kContentLength,
- Uint64ToString(upload_data_stream->size()));
+ base::Uint64ToString(upload_data_stream->size()));
} else if (request_info->method == "POST" || request_info->method == "PUT" ||
request_info->method == "HEAD") {
// An empty POST/PUT request still needs a content length. As for HEAD,
@@ -156,7 +156,7 @@ void ProcessAlternateProtocol(const HttpResponseHeaders& headers,
}
int port;
- if (!StringToInt(port_protocol_vector[0], &port) ||
+ if (!base::StringToInt(port_protocol_vector[0], &port) ||
port <= 0 || port >= 1 << 16) {
DLOG(WARNING) << HttpAlternateProtocols::kHeader
<< " header has unrecognizable port: "