From e83326f8400791e92875546b2fd1885a3a17d1b1 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sat, 31 Jul 2010 17:29:25 +0000 Subject: Convert more callers of the integer/string functions to using string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98 --- net/server/http_listen_socket.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net/server') diff --git a/net/server/http_listen_socket.cc b/net/server/http_listen_socket.cc index cdc6c71..6f60add 100644 --- a/net/server/http_listen_socket.cc +++ b/net/server/http_listen_socket.cc @@ -13,6 +13,7 @@ #include "base/compiler_specific.h" #include "base/logging.h" #include "base/md5.h" +#include "base/string_number_conversions.h" #include "base/string_util.h" #include "net/server/http_listen_socket.h" #include "net/server/http_server_request_info.h" @@ -81,7 +82,7 @@ uint32 WebSocketKeyFingerprint(const std::string& str) { if (spaces == 0) return 0; int64 number = 0; - if (!StringToInt64(result, &number)) + if (!base::StringToInt64(result, &number)) return 0; return htonl(static_cast(number / spaces)); } -- cgit v1.1